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.001472/0.001472, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00173/0.00173, allocations: 216.1 kB / 23.03 MB, free: 4.922 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.162/0.162, allocations: 23.87 MB / 337.1 MB, free: 10.98 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: "" <> buildModelFMU(Chemical.Examples.HeatingOfWater,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfWater,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfWater",fmuType="cs",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.002094/0.002094, allocations: 63.91 kB / 471.9 MB, free: 7.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3995, allocations: 59.85 MB / 0.5193 GB, free: 9.539 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.07935/0.4788, allocations: 25.44 MB / 0.5441 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.492, allocations: 7.239 MB / 0.5512 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.4934, allocations: 15.94 kB / 0.5512 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003186/0.4966, allocations: 0.7254 MB / 0.5519 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.4992, allocations: 0.5657 MB / 0.5525 GB, free: 6.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.502, allocations: 0.7595 MB / 0.5532 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002437/0.5045, allocations: 1.133 MB / 0.5543 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004072/0.5049, allocations: 160.8 kB / 0.5545 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007043/0.5056, allocations: 376.6 kB / 0.5548 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008271/0.5064, allocations: 423.1 kB / 0.5552 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002406/0.5067, allocations: 87.94 kB / 0.5553 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.5097, allocations: 0.9874 MB / 0.5563 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003676/0.5101, allocations: 267.2 kB / 0.5565 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007295/0.5108, allocations: 411.8 kB / 0.5569 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004587/0.5154, allocations: 2.325 MB / 0.5592 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5154, allocations: 0 / 0.5592 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5154, allocations: 3.938 kB / 0.5592 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.104e-05/0.5154, allocations: 4 kB / 0.5592 GB, free: 0.7422 MB / 398.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.003144/0.5186, allocations: 1.389 MB / 0.5606 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.5186, allocations: 8.031 kB / 0.5606 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.441e-05/0.5187, allocations: 30.19 kB / 0.5606 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001949/0.5189, allocations: 154.2 kB / 0.5607 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006703/0.5195, allocations: 217.6 kB / 0.561 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.5205, allocations: 0.5319 MB / 0.5615 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.5208, allocations: 176 kB / 0.5616 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.5209, allocations: 97.2 kB / 0.5617 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004482/0.5254, allocations: 3.793 MB / 0.5654 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.5254, allocations: 3.984 kB / 0.5654 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-05/0.5255, allocations: 31.98 kB / 0.5655 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001897/0.5257, allocations: 146 kB / 0.5656 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007971/0.5337, allocations: 6.76 MB / 0.5722 GB, free: 3.613 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.0145/0.5482, allocations: 8.996 MB / 0.581 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/0.5509, allocations: 1.736 MB / 0.5827 GB, free: 8.793 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.5527, allocations: 1.348 MB / 0.584 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001827/0.5545, allocations: 0.6454 MB / 0.5846 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.5546, allocations: 34.56 kB / 0.5847 GB, free: 6.754 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 2.785e-06/0.5546, allocations: 0 / 0.5847 GB, free: 6.754 MB / 430.1 MB Notification: Performance of matching and sorting (n=68): time 0.05662/0.6112, allocations: 15.29 MB / 0.5996 GB, free: 7.406 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0728/0.684, allocations: 21.97 MB / 0.6211 GB, free: 1.137 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.6856, allocations: 1.07 MB / 0.6221 GB, free: 44 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003626/0.686, allocations: 41.77 kB / 0.6222 GB, free: 15.99 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005009/0.6865, allocations: 0.5083 MB / 0.6226 GB, free: 15.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004208/0.6869, allocations: 253.8 kB / 0.6229 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007675/0.6877, allocations: 262.5 kB / 0.6231 GB, free: 14.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.6878, allocations: 326 kB / 0.6235 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003301/0.6911, allocations: 2.43 MB / 0.6258 GB, free: 12.21 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003481/0.6946, allocations: 2.554 MB / 0.6283 GB, free: 9.605 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004986/0.6996, allocations: 3.349 MB / 0.6316 GB, free: 6.207 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6996, allocations: 0 / 0.6316 GB, free: 6.207 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01689/0.7165, allocations: 6.807 MB / 0.6382 GB, free: 15.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.7165, allocations: 7.938 kB / 0.6382 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.7165, allocations: 8 kB / 0.6383 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01444/0.731, allocations: 3.452 MB / 0.6416 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/0.7333, allocations: 319.6 kB / 0.6419 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.023/0.7563, allocations: 13.3 MB / 0.6549 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/0.7582, allocations: 83.92 kB / 0.655 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003562/0.7586, allocations: 171.9 kB / 0.6552 GB, free: 13.85 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.0008487/0.7595, allocations: 338.3 kB / 0.6555 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/0.7599, allocations: 107.3 kB / 0.6556 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/0.7736, allocations: 4.448 MB / 0.6599 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01239/0.786, allocations: 3.669 MB / 0.6635 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.786, allocations: 0 / 0.6635 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.964e-05/0.7861, allocations: 3.984 kB / 0.6635 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/0.8039, allocations: 6.796 MB / 0.6702 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.8039, allocations: 8.031 kB / 0.6702 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/0.8055, allocations: 175.8 kB / 0.6703 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02995/0.8354, allocations: 3.708 MB / 0.674 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002814/0.8357, allocations: 39.95 kB / 0.674 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/0.8497, allocations: 6.347 MB / 0.6802 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05972/0.9094, allocations: 14.27 MB / 0.6941 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01508/0.9245, allocations: 5.713 MB / 0.6997 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/0.925, allocations: 139.3 kB / 0.6998 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003264/0.9253, allocations: 16 kB / 0.6999 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.9267, allocations: 59.92 kB / 0.6999 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000427/0.9271, allocations: 100.2 kB / 0.7 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002062/0.9273, allocations: 79.94 kB / 0.7001 GB, free: 15.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001523/0.9288, allocations: 1.02 MB / 0.7011 GB, free: 14.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9288, allocations: 0 / 0.7011 GB, free: 14.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002305/0.9311, allocations: 0.5779 MB / 0.7016 GB, free: 13.54 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.01505/0.9462, allocations: 6.081 MB / 0.7076 GB, free: 7.375 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007219/0.9534, allocations: 3.681 MB / 0.7112 GB, free: 3.676 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.9534, allocations: 3.938 kB / 0.7112 GB, free: 3.672 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003944/0.9573, allocations: 1.453 MB / 0.7126 GB, free: 2.211 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.9589, allocations: 251.5 kB / 0.7128 GB, free: 1.977 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3435/1.302, allocations: 27.87 MB / 0.7401 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/1.304, allocations: 0.532 MB / 0.7406 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001911/1.306, allocations: 299.7 kB / 0.7409 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/1.307, allocations: 468.1 kB / 0.7413 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/1.307, allocations: 1.219 kB / 0.7413 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/1.413, allocations: 63.12 MB / 0.803 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.72/18.13, allocations: 3.094 kB / 0.803 GB, free: 135.3 MB / 0.5606 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_HeatingOfWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_HeatingOfWater.fmu > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.35380925796926] Failed to read output from testmodel.py, exit status != 0: 18.33621732494794 18.354020572 17.835334325 Calling exit ...