Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.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.001294/0.001294, allocations: 116.5 kB / 17.16 MB, free: 5.914 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.001316/0.001316, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.541/1.541, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1524/0.1524, 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.Obsolete.Examples.HeatingOfWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_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.002882/0.002882, allocations: 67.97 kB / 466.7 MB, free: 30.81 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1385, allocations: 59.84 MB / 0.5142 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.005802/0.1443, allocations: 3.476 MB / 0.5176 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007424/0.1517, allocations: 4.783 MB / 0.5223 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004907/0.1522, allocations: 7.938 kB / 0.5223 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.1527, allocations: 111.3 kB / 0.5224 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.1541, allocations: 452.9 kB / 0.5228 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.1556, allocations: 0.5283 MB / 0.5233 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.1566, allocations: 0.5921 MB / 0.5239 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005259/0.1572, allocations: 296.4 kB / 0.5242 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004618/0.1576, allocations: 295.1 kB / 0.5245 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005354/0.1582, allocations: 306.9 kB / 0.5248 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.1583, allocations: 59.94 kB / 0.5248 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.1598, allocations: 479.3 kB / 0.5253 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.1599, allocations: 119.6 kB / 0.5254 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.1603, allocations: 278.7 kB / 0.5257 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.1627, allocations: 1.074 MB / 0.5267 GB, free: 44 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1627, allocations: 0 / 0.5267 GB, free: 44 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1627, allocations: 0 / 0.5267 GB, free: 44 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.1628, allocations: 0 / 0.5267 GB, free: 44 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001871/0.1646, allocations: 0.8839 MB / 0.5276 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.1647, allocations: 12.03 kB / 0.5276 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.451e-05/0.1647, allocations: 13.19 kB / 0.5276 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.1648, allocations: 82.7 kB / 0.5277 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004416/0.1653, allocations: 96.33 kB / 0.5278 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00072/0.166, allocations: 370.5 kB / 0.5281 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.166, allocations: 41.36 kB / 0.5282 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.276e-05/0.1661, allocations: 48.38 kB / 0.5282 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008587/0.167, allocations: 454.3 kB / 0.5286 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.167, allocations: 0 / 0.5286 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-05/0.1671, allocations: 31.86 kB / 0.5287 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.1671, allocations: 12 kB / 0.5287 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009011/0.168, allocations: 0.5036 MB / 0.5292 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.1709, allocations: 1.542 MB / 0.5307 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008577/0.1717, allocations: 338.6 kB / 0.531 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.172, allocations: 108.8 kB / 0.5311 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002622/0.1746, allocations: 1.569 MB / 0.5326 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.1746, allocations: 38.5 kB / 0.5327 GB, free: 9.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.384e-06/0.1746, allocations: 0 / 0.5327 GB, free: 9.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01537/0.19, allocations: 2.328 MB / 0.535 GB, free: 7.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.19, allocations: 63.34 kB / 0.535 GB, free: 7.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/0.1905, allocations: 304.4 kB / 0.5353 GB, free: 6.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.51e-05/0.1905, allocations: 29.7 kB / 0.5353 GB, free: 6.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.1908, allocations: 276.1 kB / 0.5356 GB, free: 6.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.1909, allocations: 111.1 kB / 0.5357 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.1911, allocations: 90.06 kB / 0.5358 GB, free: 6.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1912, allocations: 334.8 kB / 0.5361 GB, free: 5.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.1915, allocations: 136.8 kB / 0.5362 GB, free: 5.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.1919, allocations: 260 kB / 0.5365 GB, free: 5.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006971/0.1926, allocations: 444.8 kB / 0.5369 GB, free: 4.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1926, allocations: 0 / 0.5369 GB, free: 4.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004141/0.1967, allocations: 0.8118 MB / 0.5377 GB, free: 4.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.1968, allocations: 4 kB / 0.5377 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.1968, allocations: 8 kB / 0.5377 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003542/0.2003, allocations: 409.8 kB / 0.5381 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.2006, allocations: 79.89 kB / 0.5382 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007062/0.2077, allocations: 3.983 MB / 0.5421 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.2081, allocations: 16 kB / 0.5421 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.2082, allocations: 20 kB / 0.5421 GB, free: 15.31 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (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,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002833/0.2085, allocations: 174.6 kB / 0.5423 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.2086, allocations: 39.95 kB / 0.5423 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005016/0.2136, allocations: 0.8275 MB / 0.5431 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2136, allocations: 8 kB / 0.5431 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2136, allocations: 4 kB / 0.5431 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.2136, allocations: 3.984 kB / 0.5431 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009324/0.2145, allocations: 0.6309 MB / 0.5438 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2145, allocations: 4 kB / 0.5438 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.2147, allocations: 47.97 kB / 0.5438 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004699/0.2194, allocations: 490 kB / 0.5443 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/0.2195, allocations: 19.98 kB / 0.5443 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008128/0.2276, allocations: 5.299 MB / 0.5495 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2276, allocations: 4 kB / 0.5495 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005355/0.233, allocations: 1.124 MB / 0.5506 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.2331, allocations: 112.9 kB / 0.5507 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.6e-05/0.2332, allocations: 8 kB / 0.5507 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.2335, allocations: 15.98 kB / 0.5507 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.2336, allocations: 43.83 kB / 0.5507 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.2337, allocations: 19.98 kB / 0.5508 GB, free: 5.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002606/0.2339, allocations: 199.1 kB / 0.5509 GB, free: 5.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2339, allocations: 0 / 0.5509 GB, free: 5.652 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009439/0.2349, allocations: 247.5 kB / 0.5512 GB, free: 5.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.amountOfBonds,liquidWater.logn) * 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 (29): * Single equations (assignments): 26 * Array equations: 0 * 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,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006278/0.2412, allocations: 1.841 MB / 0.553 GB, free: 3.508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.2427, allocations: 0.6735 MB / 0.5536 GB, free: 2.809 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.2427, allocations: 4.312 kB / 0.5536 GB, free: 2.805 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.2437, allocations: 0.5978 MB / 0.5542 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007369/0.2445, allocations: 102.8 kB / 0.5543 GB, free: 2.074 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.2572, allocations: 4.604 MB / 0.5588 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.2577, allocations: 0.8313 MB / 0.5596 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002964/0.258, allocations: 67.02 kB / 0.5597 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.2582, allocations: 179.4 kB / 0.5599 GB, free: 12.12 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2582, allocations: 4 kB / 0.5599 GB, free: 12.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0495/0.3077, allocations: 15.56 MB / 0.5751 GB, free: 12.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/13.77, allocations: 10.84 kB / 0.5751 GB, free: 12.74 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_HeatingOfWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_HeatingOfWater.fmu > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.789313275017776] Failed to read output from testmodel.py, exit status != 0: 13.933751075994223 13.956619501 13.789186328 Calling exit ...