Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008386/0.0008386, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000896/0.000896, allocations: 212.1 kB / 22.25 MB, free: 3.727 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9771/0.9771, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7982/0.7982, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 67.23 kB / 0.7178 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.5023, allocations: 102 MB / 0.8174 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.003578/0.5059, allocations: 3.056 MB / 0.8203 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.5078, allocations: 1.324 MB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.5079, allocations: 3.125 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007651/0.5087, allocations: 334.1 kB / 0.822 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003182/0.509, allocations: 154.4 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.5093, allocations: 133.2 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000336/0.5097, allocations: 313.9 kB / 0.8225 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003823/0.51, allocations: 179.3 kB / 0.8227 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.5102, allocations: 128 kB / 0.8228 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.5105, allocations: 139.3 kB / 0.823 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.5106, allocations: 22.19 kB / 0.823 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.5108, allocations: 149 kB / 0.8231 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.84e-05/0.5109, allocations: 83.67 kB / 0.8232 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.509e-05/0.511, allocations: 92.55 kB / 0.8233 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.5114, allocations: 337.8 kB / 0.8236 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.5114, allocations: 0.8906 kB / 0.8236 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5114, allocations: 1.281 kB / 0.8236 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.5114, allocations: 0 / 0.8236 GB, free: 13.33 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006763/0.5121, allocations: 449.7 kB / 0.824 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.5121, allocations: 18.06 kB / 0.8241 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.5122, allocations: 55.05 kB / 0.8241 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003412/0.5125, allocations: 80.08 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.5128, allocations: 189.7 kB / 0.8244 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.5128, allocations: 16.53 kB / 0.8244 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.5128, allocations: 15.88 kB / 0.8244 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.5132, allocations: 389.4 kB / 0.8248 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.5133, allocations: 1.062 kB / 0.8248 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.5133, allocations: 6.344 kB / 0.8248 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.5133, allocations: 20.78 kB / 0.8248 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.5135, allocations: 200.5 kB / 0.825 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009687/0.5145, allocations: 1.036 MB / 0.826 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.5147, allocations: 92.28 kB / 0.8261 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.5147, allocations: 32.98 kB / 0.8261 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-06/0.5147, allocations: 1.891 kB / 0.8261 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.5148, allocations: 33.34 kB / 0.8262 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.5148, allocations: 0 / 0.8262 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003356/0.5151, allocations: 150.3 kB / 0.8263 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.5151, allocations: 51.97 kB / 0.8263 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.5153, allocations: 207.3 kB / 0.8265 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.5153, allocations: 27.16 kB / 0.8266 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.5154, allocations: 171 kB / 0.8267 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.5154, allocations: 29.23 kB / 0.8268 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.5154, allocations: 36.48 kB / 0.8268 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.5155, allocations: 329.9 kB / 0.8271 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.494e-05/0.5156, allocations: 32.11 kB / 0.8271 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.416e-05/0.5156, allocations: 103.1 kB / 0.8272 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.5158, allocations: 146.2 kB / 0.8274 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5158, allocations: 1.188 kB / 0.8274 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002242/0.516, allocations: 191 kB / 0.8276 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.516, allocations: 6.656 kB / 0.8276 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.516, allocations: 2.562 kB / 0.8276 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.5161, allocations: 26.34 kB / 0.8276 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.968e-05/0.5162, allocations: 29.69 kB / 0.8276 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007099/0.5169, allocations: 1.316 MB / 0.8289 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.517, allocations: 17.84 kB / 0.8289 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.517, allocations: 14.22 kB / 0.8289 GB, free: 8.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.227e-05/0.5171, allocations: 147.8 kB / 0.8291 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.5171, allocations: 15.92 kB / 0.8291 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.776e-05/0.5171, allocations: 19.14 kB / 0.8291 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.5171, allocations: 1.188 kB / 0.8291 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5171, allocations: 1.953 kB / 0.8291 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.5171, allocations: 0 / 0.8291 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.5175, allocations: 407.8 kB / 0.8295 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5175, allocations: 0 / 0.8295 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.5175, allocations: 12.86 kB / 0.8295 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.387e-05/0.5176, allocations: 19 kB / 0.8295 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.5176, allocations: 4.609 kB / 0.8295 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000625/0.5182, allocations: 1.308 MB / 0.8308 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5182, allocations: 1.312 kB / 0.8308 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.5183, allocations: 223.4 kB / 0.831 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.5184, allocations: 21.58 kB / 0.8311 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.5184, allocations: 2.047 kB / 0.8311 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.866e-05/0.5184, allocations: 3.328 kB / 0.8311 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.5185, allocations: 10.17 kB / 0.8311 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.5185, allocations: 5.281 kB / 0.8311 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.659e-05/0.5186, allocations: 143.1 kB / 0.8312 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5186, allocations: 0 / 0.8312 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002146/0.5188, allocations: 57.3 kB / 0.8313 GB, free: 6.809 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003327/0.5191, allocations: 0.7405 MB / 0.832 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.5194, allocations: 206.9 kB / 0.8322 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5194, allocations: 1.125 kB / 0.8322 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.775e-05/0.5195, allocations: 147.2 kB / 0.8323 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.5197, allocations: 42.75 kB / 0.8324 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.5215, allocations: 2.047 MB / 0.8344 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.5216, allocations: 136.8 kB / 0.8345 GB, free: 4.113 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.49e-05/0.5217, allocations: 24.75 kB / 0.8345 GB, free: 4.105 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.667e-05/0.5218, allocations: 55.72 kB / 0.8346 GB, free: 4.062 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.5218, allocations: 3.938 kB / 0.8346 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.5409, allocations: 4.361 MB / 0.8388 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.813/7.354, allocations: 8.688 kB / 0.8388 GB, free: 2.969 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_DC_Lines_Examples_Resistance.fmu > IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.282961855642498] Failed to read output from testmodel.py, exit status != 0: 7.437145942822099 7.450419218 6.937048385 Calling exit ...