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.001533/0.001533, allocations: 101.7 kB / 16.45 MB, free: 6.449 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.001586/0.001586, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.596/1.596, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.1741/0.1741, allocations: 23.85 MB / 332.7 MB, free: 12.39 MB / 270.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Chemical.Examples.HeatingOfWater,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfWater,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfWater",fmuType="me",version="2.0",platforms={"static"}) [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.00204/0.00204, allocations: 70.53 kB / 466 MB, free: 10.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4526, allocations: 59.82 MB / 0.5135 GB, free: 8.828 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.05398/0.5066, allocations: 26.11 MB / 0.539 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.5202, allocations: 8.394 MB / 0.5472 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.5213, allocations: 15.94 kB / 0.5472 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003002/0.5243, allocations: 0.8081 MB / 0.548 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.5267, allocations: 0.5539 MB / 0.5485 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.5294, allocations: 0.7568 MB / 0.5492 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002118/0.5315, allocations: 1.127 MB / 0.5503 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.5318, allocations: 163.8 kB / 0.5505 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005087/0.5323, allocations: 376.6 kB / 0.5509 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000531/0.5329, allocations: 418.9 kB / 0.5513 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.533, allocations: 84 kB / 0.5513 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004091/0.5371, allocations: 1.558 MB / 0.5529 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003311/0.5374, allocations: 279 kB / 0.5531 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005769/0.538, allocations: 0.535 MB / 0.5536 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00577/0.5438, allocations: 2.492 MB / 0.5561 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5438, allocations: 0.5156 kB / 0.5561 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5438, allocations: 0 / 0.5561 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.5438, allocations: 0 / 0.5561 GB, free: 15.4 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.00308/0.5469, allocations: 1.48 MB / 0.5575 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.5469, allocations: 12.03 kB / 0.5575 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002224/0.5471, allocations: 154.8 kB / 0.5577 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006524/0.5478, allocations: 216.5 kB / 0.5579 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.5488, allocations: 0.603 MB / 0.5585 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.549, allocations: 137.9 kB / 0.5586 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.5491, allocations: 88.94 kB / 0.5587 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004461/0.5536, allocations: 3.623 MB / 0.5622 GB, free: 9.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.5536, allocations: 7.922 kB / 0.5622 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.029e-05/0.5537, allocations: 36 kB / 0.5623 GB, free: 9.266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002/0.5539, allocations: 146 kB / 0.5624 GB, free: 9.121 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007517/0.5614, allocations: 6.475 MB / 0.5687 GB, free: 2.637 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.01492/0.5763, allocations: 9.367 MB / 0.5779 GB, free: 9.121 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/0.5795, allocations: 1.717 MB / 0.5796 GB, free: 7.395 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/0.5814, allocations: 1.336 MB / 0.5809 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002458/0.5839, allocations: 1.522 MB / 0.5824 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.5839, allocations: 38.56 kB / 0.5824 GB, free: 4.262 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 2.265e-06/0.5839, allocations: 0 / 0.5824 GB, free: 4.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=68): time 0.05913/0.643, allocations: 15.31 MB / 0.5973 GB, free: 4.859 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07555/0.7186, allocations: 22.27 MB / 0.6191 GB, free: 14.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.7203, allocations: 1.066 MB / 0.6201 GB, free: 13.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003267/0.7207, allocations: 37.7 kB / 0.6202 GB, free: 13.12 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005311/0.7212, allocations: 0.5161 MB / 0.6207 GB, free: 12.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004235/0.7216, allocations: 241.9 kB / 0.6209 GB, free: 12.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007801/0.7224, allocations: 270.5 kB / 0.6212 GB, free: 12.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.7226, allocations: 338 kB / 0.6215 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003593/0.7262, allocations: 2.38 MB / 0.6238 GB, free: 9.371 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003554/0.7297, allocations: 2.519 MB / 0.6263 GB, free: 6.797 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005379/0.7351, allocations: 3.337 MB / 0.6295 GB, free: 3.414 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7351, allocations: 0 / 0.6295 GB, free: 3.414 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01772/0.7528, allocations: 6.706 MB / 0.6361 GB, free: 12.69 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.7529, allocations: 7.938 kB / 0.6361 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.7529, allocations: 4 kB / 0.6361 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01447/0.7673, allocations: 3.398 MB / 0.6394 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/0.7697, allocations: 319.6 kB / 0.6397 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02382/0.7935, allocations: 13.4 MB / 0.6528 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.7955, allocations: 84.11 kB / 0.6529 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003922/0.7959, allocations: 171.9 kB / 0.653 GB, free: 11.1 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.0009568/0.7968, allocations: 341.7 kB / 0.6534 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004683/0.7973, allocations: 111.3 kB / 0.6535 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/0.8116, allocations: 4.428 MB / 0.6578 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01209/0.8237, allocations: 3.673 MB / 0.6614 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.8237, allocations: 0 / 0.6614 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-05/0.8237, allocations: 7.984 kB / 0.6614 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/0.8423, allocations: 7.37 MB / 0.6686 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/0.8424, allocations: 4 kB / 0.6686 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/0.844, allocations: 184 kB / 0.6688 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02994/0.8739, allocations: 3.7 MB / 0.6724 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003572/0.8743, allocations: 43.95 kB / 0.6724 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/0.8892, allocations: 6.568 MB / 0.6788 GB, free: 268 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06158/0.9507, allocations: 14.79 MB / 0.6933 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/0.9662, allocations: 5.689 MB / 0.6988 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.9667, allocations: 212.4 kB / 0.699 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/0.967, allocations: 20 kB / 0.6991 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.9684, allocations: 59.98 kB / 0.6991 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004167/0.9688, allocations: 92.38 kB / 0.6992 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/0.969, allocations: 87.88 kB / 0.6993 GB, free: 10.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001558/0.9706, allocations: 1.008 MB / 0.7003 GB, free: 9.902 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9706, allocations: 0 / 0.7003 GB, free: 9.902 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002396/0.973, allocations: 0.5816 MB / 0.7008 GB, free: 9.32 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.01571/0.9887, allocations: 6.066 MB / 0.7068 GB, free: 3.176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00747/0.9961, allocations: 3.635 MB / 0.7103 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.9961, allocations: 256 / 0.7103 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003896/1, allocations: 1.449 MB / 0.7117 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/1.002, allocations: 253 kB / 0.712 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3484/1.35, allocations: 27.48 MB / 0.7388 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009171/1.351, allocations: 1.13 MB / 0.7399 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00143/1.353, allocations: 292.7 kB / 0.7402 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.354, allocations: 464.5 kB / 0.7406 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.353e-06/1.354, allocations: 4.562 kB / 0.7406 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/1.476, allocations: 60.24 MB / 0.7995 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/17.01, allocations: 0 / 0.7995 GB, free: 134.5 MB / 0.5606 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Examples.HeatingOfWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Chemical_Chemical_Examples_HeatingOfWater.fmu > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.189656035989174] Failed to read output from testmodel.py, exit status != 0: 17.141873080996447 17.159148202 16.611571975 Calling exit ...