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.0007172/0.0007172, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001218/0.001218, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8291/0.8291, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.08163/0.08163, allocations: 17.45 MB / 276.6 MB, free: 11.76 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfWater,fileNamePrefix="Chemical_master_Chemical_Examples_HeatingOfWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 411.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.044e-05, allocations: 2.281 kB / 411.6 MB, free: 12.45 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361: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:1361:7-1361: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.02105/0.02107, allocations: 26.31 MB / 437.9 MB, free: 13.88 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008465/0.02953, allocations: 8.189 MB / 446.1 MB, free: 6.484 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007225/0.03026, allocations: 31.69 kB / 446.1 MB, free: 6.453 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.03197, allocations: 0.7821 MB / 446.9 MB, free: 5.852 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.0332, allocations: 0.7189 MB / 447.6 MB, free: 5.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.03491, allocations: 0.9548 MB / 448.6 MB, free: 4.496 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.03632, allocations: 1.249 MB / 449.8 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.03653, allocations: 160.5 kB / 450 MB, free: 3.215 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004267/0.03696, allocations: 0.6087 MB / 450.6 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004443/0.0374, allocations: 451.8 kB / 451 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.47e-05/0.03747, allocations: 80 kB / 451.1 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.03949, allocations: 1.183 MB / 452.3 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.03966, allocations: 290.9 kB / 452.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.03986, allocations: 343 kB / 452.9 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.04221, allocations: 2.364 MB / 455.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.04222, allocations: 0 / 455.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.04222, allocations: 0 / 455.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.04223, allocations: 7.875 kB / 455.3 MB, free: 14.27 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001438/0.04367, allocations: 1.434 MB / 456.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.04371, allocations: 8.031 kB / 456.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/0.04386, allocations: 157 kB / 456.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/0.04415, allocations: 212 kB / 457.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006569/0.04481, allocations: 0.6802 MB / 457.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-05/0.0449, allocations: 126 kB / 457.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.237e-05/0.04498, allocations: 88.31 kB / 458 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.04699, allocations: 3.222 MB / 461.2 MB, free: 8.254 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.04701, allocations: 192 / 461.2 MB, free: 8.254 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.04705, allocations: 39.92 kB / 461.2 MB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.78e-05/0.04714, allocations: 130.1 kB / 461.4 MB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003707/0.05084, allocations: 6.237 MB / 467.6 MB, free: 1.84 MB / 362.7 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.004477/0.05532, allocations: 4.835 MB / 472.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005242/0.05585, allocations: 410.5 kB / 472.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.05609, allocations: 256.8 kB / 473.1 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002378/0.05847, allocations: 2.161 MB / 475.2 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.05849, allocations: 38.84 kB / 475.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.05849, allocations: 0 / 475.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.008093/0.06658, allocations: 3.766 MB / 479 MB, free: 6.164 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.06661, allocations: 55.41 kB / 479.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005592/0.06717, allocations: 0.7307 MB / 479.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.06721, allocations: 41.7 kB / 479.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.06749, allocations: 0.6318 MB / 480.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.764e-05/0.06759, allocations: 170.6 kB / 480.7 MB, free: 4.504 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.06779, allocations: 226.5 kB / 480.9 MB, free: 4.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.0679, allocations: 386.8 kB / 481.3 MB, free: 3.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.06822, allocations: 297.8 kB / 481.6 MB, free: 3.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.06867, allocations: 0.6575 MB / 482.2 MB, free: 2.762 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008378/0.06951, allocations: 1.031 MB / 483.2 MB, free: 1.555 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.06951, allocations: 4 kB / 483.2 MB, free: 1.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002503/0.07202, allocations: 1.523 MB / 484.8 MB, free: 12 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.07205, allocations: 16.11 kB / 484.8 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.07206, allocations: 12 kB / 484.8 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002309/0.07437, allocations: 0.6462 MB / 485.4 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/0.07509, allocations: 363.6 kB / 485.8 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.07725, allocations: 2.835 MB / 488.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.07763, allocations: 44.16 kB / 488.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.07774, allocations: 128 kB / 488.8 MB, free: 11.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 2 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 91 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,5), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004375/0.07818, allocations: 357.9 kB / 489.2 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.07829, allocations: 87.44 kB / 489.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/0.08093, allocations: 1.437 MB / 490.7 MB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.08093, allocations: 4 kB / 490.7 MB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.08094, allocations: 0 / 490.7 MB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.08094, allocations: 3.984 kB / 490.7 MB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009477/0.08189, allocations: 1.003 MB / 491.7 MB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.08189, allocations: 4.031 kB / 491.7 MB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005996/0.08249, allocations: 251.8 kB / 491.9 MB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/0.08462, allocations: 0.5485 MB / 492.5 MB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.08466, allocations: 27.98 kB / 492.5 MB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003256/0.08792, allocations: 4.162 MB / 496.7 MB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.08792, allocations: 0 / 496.7 MB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/0.09053, allocations: 1.536 MB / 498.2 MB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.09062, allocations: 67.44 kB / 498.3 MB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.09068, allocations: 19.94 kB / 498.3 MB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.09089, allocations: 23.98 kB / 498.3 MB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/0.09097, allocations: 60.53 kB / 498.4 MB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.09102, allocations: 47.98 kB / 498.4 MB, free: 1.758 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004008/0.09142, allocations: 0.499 MB / 498.9 MB, free: 1.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09142, allocations: 3.938 kB / 498.9 MB, free: 1.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007896/0.09221, allocations: 303.7 kB / 499.2 MB, free: 0.9648 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (solution.temperature,liquidWater.logm) * 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 (47): * Single equations (assignments): 44 * 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,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003294/0.0955, allocations: 2.331 MB / 0.4898 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.09693, allocations: 0.9762 MB / 0.4908 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.09694, allocations: 0 / 0.4908 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007148/0.09765, allocations: 0.6409 MB / 0.4914 GB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/0.09828, allocations: 207.6 kB / 0.4916 GB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.1086, allocations: 8.756 MB / 0.5001 GB, free: 3.434 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.109, allocations: 0.515 MB / 0.5006 GB, free: 2.887 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006367/0.1096, allocations: 346.8 kB / 0.501 GB, free: 2.543 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004793/0.1101, allocations: 496.3 kB / 0.5014 GB, free: 2.055 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1101, allocations: 0 / 0.5014 GB, free: 2.055 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03924/0.1493, allocations: 29.98 MB / 0.5307 GB, free: 4.273 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/8.404, allocations: 3.984 kB / 0.5307 GB, free: 4.27 MB / 442.7 MB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 10.171793210320175] Failed to read output from testmodel.py, exit status != 0: 8.63051525503397 8.51351605 8.469491375 Calling exit ...