Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001349/0.001349, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001458/0.001458, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.531/1.531, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1464/0.1464, allocations: 23.89 MB / 333.4 MB, free: 1.172 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Examples_HeatingOfWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfWater,fileNamePrefix="Chemical_master_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.002037/0.002037, allocations: 63.94 kB / 466.7 MB, free: 30.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09877/0.1008, allocations: 59.84 MB / 0.5142 GB, free: 12.91 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.039/0.1398, allocations: 26.09 MB / 0.5397 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.1515, allocations: 8.394 MB / 0.5479 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008022/0.1523, allocations: 15.88 kB / 0.5479 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002431/0.1548, allocations: 0.8123 MB / 0.5487 GB, free: 9.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.1564, allocations: 0.5625 MB / 0.5492 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.1584, allocations: 0.7577 MB / 0.55 GB, free: 8.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.1601, allocations: 1.126 MB / 0.5511 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.1604, allocations: 156.5 kB / 0.5512 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004409/0.1609, allocations: 382.4 kB / 0.5516 GB, free: 6.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005176/0.1614, allocations: 421.9 kB / 0.552 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.1615, allocations: 88 kB / 0.5521 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003434/0.1649, allocations: 1.556 MB / 0.5536 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.1652, allocations: 267 kB / 0.5539 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.1657, allocations: 0.5438 MB / 0.5544 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003779/0.1695, allocations: 2.484 MB / 0.5568 GB, free: 1.242 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1695, allocations: 4 kB / 0.5568 GB, free: 1.238 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1695, allocations: 0 / 0.5568 GB, free: 1.238 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.1695, allocations: 4 kB / 0.5568 GB, free: 1.234 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.002501/0.172, allocations: 1.478 MB / 0.5583 GB, free: 15.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.1721, allocations: 8.031 kB / 0.5583 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.186e-05/0.1721, allocations: 26.19 kB / 0.5583 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002019/0.1723, allocations: 152.7 kB / 0.5584 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000676/0.173, allocations: 220 kB / 0.5587 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009486/0.174, allocations: 0.5931 MB / 0.5592 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.1742, allocations: 144.2 kB / 0.5594 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.1743, allocations: 96.06 kB / 0.5595 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004105/0.1784, allocations: 3.62 MB / 0.563 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.1784, allocations: 0 / 0.563 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.919e-05/0.1785, allocations: 35.94 kB / 0.563 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/0.1787, allocations: 146 kB / 0.5632 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006993/0.1857, allocations: 6.475 MB / 0.5695 GB, free: 4.113 MB / 430.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.01392/0.1996, allocations: 9.375 MB / 0.5787 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.2023, allocations: 1.717 MB / 0.5803 GB, free: 8.867 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/0.2042, allocations: 1.324 MB / 0.5816 GB, free: 7.539 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002403/0.2066, allocations: 1.533 MB / 0.5831 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.2066, allocations: 42.44 kB / 0.5832 GB, free: 5.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.394e-06/0.2066, allocations: 0 / 0.5832 GB, free: 5.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=68): time 0.2764/0.4831, allocations: 15.29 MB / 0.5981 GB, free: 65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06728/0.5503, allocations: 22.27 MB / 0.6198 GB, free: 51.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.5515, allocations: 1.061 MB / 0.6209 GB, free: 50.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002824/0.5517, allocations: 41.14 kB / 0.6209 GB, free: 50.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.552, allocations: 0.5121 MB / 0.6214 GB, free: 50.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.5523, allocations: 251.8 kB / 0.6217 GB, free: 49.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006615/0.553, allocations: 262.5 kB / 0.6219 GB, free: 49.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.84e-05/0.553, allocations: 330 kB / 0.6222 GB, free: 49.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/0.5553, allocations: 2.381 MB / 0.6245 GB, free: 46.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/0.5577, allocations: 2.515 MB / 0.627 GB, free: 44.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/0.5613, allocations: 3.347 MB / 0.6303 GB, free: 40.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5613, allocations: 5.531 kB / 0.6303 GB, free: 40.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01409/0.5754, allocations: 6.698 MB / 0.6368 GB, free: 34.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.5755, allocations: 11.98 kB / 0.6368 GB, free: 34.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.5755, allocations: 7.938 kB / 0.6368 GB, free: 34.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0128/0.5883, allocations: 3.4 MB / 0.6402 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/0.5904, allocations: 314.3 kB / 0.6405 GB, free: 30.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/0.6076, allocations: 13.4 MB / 0.6535 GB, free: 17.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.6094, allocations: 75.94 kB / 0.6536 GB, free: 16.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/0.6097, allocations: 179.9 kB / 0.6538 GB, free: 16.78 MB / 446.1 MB 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.0007318/0.6104, allocations: 336.2 kB / 0.6541 GB, free: 16.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003612/0.6108, allocations: 103.3 kB / 0.6542 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/0.6229, allocations: 4.445 MB / 0.6586 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01062/0.6335, allocations: 3.657 MB / 0.6621 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.6335, allocations: 0 / 0.6621 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.6335, allocations: 7.984 kB / 0.6621 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/0.6479, allocations: 7.373 MB / 0.6693 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.6479, allocations: 0 / 0.6693 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.6494, allocations: 178.4 kB / 0.6695 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03006/0.6794, allocations: 3.708 MB / 0.6731 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000274/0.6797, allocations: 47.95 kB / 0.6732 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/0.6937, allocations: 6.56 MB / 0.6796 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05992/0.7536, allocations: 14.79 MB / 0.694 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/0.7685, allocations: 5.7 MB / 0.6996 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004907/0.769, allocations: 212.4 kB / 0.6998 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/0.7693, allocations: 23.94 kB / 0.6998 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.7706, allocations: 58.55 kB / 0.6999 GB, free: 1.023 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003893/0.771, allocations: 96.31 kB / 0.7 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/0.7712, allocations: 79.89 kB / 0.7 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00141/0.7726, allocations: 1.023 MB / 0.701 GB, free: 15.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7726, allocations: 0 / 0.701 GB, free: 15.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002067/0.7747, allocations: 0.5739 MB / 0.7016 GB, free: 15.25 MB / 494.1 MB 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.01468/0.7894, allocations: 6.062 MB / 0.7075 GB, free: 9.191 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006787/0.7961, allocations: 3.628 MB / 0.7111 GB, free: 5.559 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.7961, allocations: 0 / 0.7111 GB, free: 5.559 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003642/0.7998, allocations: 1.46 MB / 0.7125 GB, free: 4.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.8014, allocations: 256.2 kB / 0.7127 GB, free: 3.875 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05323/0.8546, allocations: 27.49 MB / 0.7396 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009519/0.8556, allocations: 1.139 MB / 0.7407 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00137/0.8569, allocations: 302 kB / 0.741 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/0.858, allocations: 463.2 kB / 0.7414 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of SimCode: time 7.11e-07/0.858, allocations: 0 / 0.7414 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.11/0.968, allocations: 60.28 MB / 0.8003 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/16.99, allocations: 3.938 kB / 0.8003 GB, free: 10.61 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Examples.HeatingOfWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Examples_HeatingOfWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Examples_HeatingOfWater.fmu > Chemical_master_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.37544071301818] Failed to read output from testmodel.py, exit status != 0: 17.174500135995913 17.432443741 17.259504413 Calling exit ...