Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfWater.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.001567/0.001567, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001469/0.001469, allocations: 218.9 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1391/0.1391, allocations: 23.85 MB / 337 MB, free: 11.23 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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: translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") [Timeout 660] "Notification: Chemical 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.002187/0.002187, allocations: 67.89 kB / 472.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3056, allocations: 59.87 MB / 0.5198 GB, free: 9.875 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfWater): time 0.0366/0.3422, allocations: 26.3 MB / 0.5455 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.3544, allocations: 8.414 MB / 0.5537 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00095/0.3553, allocations: 15.94 kB / 0.5537 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.358, allocations: 0.7934 MB / 0.5545 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.3597, allocations: 0.5551 MB / 0.555 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.3619, allocations: 0.7397 MB / 0.5557 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002112/0.364, allocations: 1.133 MB / 0.5569 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.3644, allocations: 160.5 kB / 0.557 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005581/0.3649, allocations: 375.8 kB / 0.5574 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000606/0.3655, allocations: 419.4 kB / 0.5578 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.3657, allocations: 84 kB / 0.5578 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.3691, allocations: 1.559 MB / 0.5594 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.3694, allocations: 274.9 kB / 0.5596 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006257/0.37, allocations: 0.5383 MB / 0.5602 GB, free: 212 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.3741, allocations: 2.495 MB / 0.5626 GB, free: 14.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3741, allocations: 4 kB / 0.5626 GB, free: 14.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3741, allocations: 0 / 0.5626 GB, free: 14.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.465e-05/0.3741, allocations: 0 / 0.5626 GB, free: 14.32 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002874/0.377, allocations: 1.407 MB / 0.564 GB, free: 12.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.377, allocations: 8.031 kB / 0.564 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006262/0.3777, allocations: 220 kB / 0.5642 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009381/0.3786, allocations: 0.5289 MB / 0.5647 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.3788, allocations: 177.9 kB / 0.5649 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.3789, allocations: 88.33 kB / 0.565 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004238/0.3832, allocations: 3.796 MB / 0.5687 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.3832, allocations: 0 / 0.5687 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.757e-05/0.3832, allocations: 36 kB / 0.5687 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/0.3834, allocations: 146 kB / 0.5688 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007155/0.3906, allocations: 6.76 MB / 0.5754 GB, free: 1.062 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/0.4042, allocations: 9.509 MB / 0.5847 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/0.4068, allocations: 1.74 MB / 0.5864 GB, free: 5.664 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/0.4086, allocations: 1.352 MB / 0.5877 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001755/0.4104, allocations: 0.6376 MB / 0.5884 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.4104, allocations: 38.5 kB / 0.5884 GB, free: 3.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 2.314e-06/0.4104, allocations: 3.938 kB / 0.5884 GB, free: 3.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=68): time 0.05381/0.4642, allocations: 15.26 MB / 0.6033 GB, free: 4.309 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06984/0.534, allocations: 22.28 MB / 0.6251 GB, free: 13.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.5356, allocations: 1.066 MB / 0.6261 GB, free: 12.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002348/0.5358, allocations: 33.7 kB / 0.6261 GB, free: 12.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004532/0.5363, allocations: 0.52 MB / 0.6266 GB, free: 12.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003837/0.5366, allocations: 245.9 kB / 0.6269 GB, free: 11.83 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007065/0.5373, allocations: 262.5 kB / 0.6271 GB, free: 11.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5375, allocations: 338 kB / 0.6275 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/0.5408, allocations: 2.419 MB / 0.6298 GB, free: 8.812 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003406/0.5442, allocations: 2.569 MB / 0.6323 GB, free: 6.191 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005015/0.5492, allocations: 3.345 MB / 0.6356 GB, free: 2.797 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5492, allocations: 0 / 0.6356 GB, free: 2.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01623/0.5654, allocations: 6.8 MB / 0.6422 GB, free: 11.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.5654, allocations: 8 kB / 0.6422 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.5655, allocations: 8.031 kB / 0.6422 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01376/0.5792, allocations: 3.452 MB / 0.6456 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.5813, allocations: 311.6 kB / 0.6459 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.022/0.6033, allocations: 13.49 MB / 0.6591 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.605, allocations: 83.94 kB / 0.6592 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003687/0.6053, allocations: 175.9 kB / 0.6593 GB, free: 10.27 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (70): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0008234/0.6062, allocations: 342 kB / 0.6597 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003785/0.6065, allocations: 103.3 kB / 0.6598 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/0.6204, allocations: 4.441 MB / 0.6641 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01191/0.6323, allocations: 3.673 MB / 0.6677 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.6324, allocations: 7.938 kB / 0.6677 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.6324, allocations: 7.969 kB / 0.6677 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/0.6507, allocations: 7.345 MB / 0.6749 GB, free: 10.13 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.6507, allocations: 7.984 kB / 0.6749 GB, free: 10.12 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/0.6522, allocations: 176.1 kB / 0.6751 GB, free: 9.953 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02899/0.6812, allocations: 3.716 MB / 0.6787 GB, free: 6.227 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002485/0.6815, allocations: 44.14 kB / 0.6787 GB, free: 6.184 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01411/0.6956, allocations: 6.46 MB / 0.685 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05945/0.7551, allocations: 14.59 MB / 0.6993 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/0.77, allocations: 5.713 MB / 0.7049 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.7704, allocations: 135.3 kB / 0.705 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/0.7707, allocations: 19.94 kB / 0.705 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.7721, allocations: 63.97 kB / 0.7051 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003477/0.7725, allocations: 96.23 kB / 0.7052 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/0.7727, allocations: 83.94 kB / 0.7052 GB, free: 10.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001504/0.7742, allocations: 1.012 MB / 0.7062 GB, free: 9.535 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.7742, allocations: 0 / 0.7062 GB, free: 9.535 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001957/0.7761, allocations: 0.5778 MB / 0.7068 GB, free: 8.957 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 ($STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 1 ($cse15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008812/0.777, allocations: 358.2 kB / 0.7071 GB, free: 8.594 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006615/0.7836, allocations: 3.681 MB / 0.7107 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.7836, allocations: 0 / 0.7107 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003668/0.7873, allocations: 1.461 MB / 0.7122 GB, free: 3.422 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.7888, allocations: 249.4 kB / 0.7124 GB, free: 3.184 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005757/0.7946, allocations: 3.163 MB / 0.7155 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000938/0.7955, allocations: 1.131 MB / 0.7166 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009265/0.7964, allocations: 131.3 kB / 0.7167 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/0.7964, allocations: 0 / 0.7167 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of Templates: time 0.2594/1.056, allocations: 42.79 MB / 0.7585 GB, free: 175.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.71129879495129] Failed to read output from testmodel.py, exit status != 0: 1.0647779868450016 1.073168431 0.696851264 Calling exit ...