Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001154/0.001154, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001369/0.001369, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9448/0.9448, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.09494/0.09494, allocations: 17.37 MB / 276.6 MB, free: 11.85 MB / 266.7 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.Obsolete.Examples.HeatingOfWater,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HeatingOfWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfWater,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HeatingOfWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 411.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.57e-05, allocations: 2.281 kB / 411.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003457/0.003482, allocations: 3.209 MB / 414.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003323/0.006805, allocations: 4.25 MB / 418.9 MB, free: 8.289 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.006981, allocations: 7.156 kB / 418.9 MB, free: 8.285 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.007327, allocations: 105.7 kB / 419 MB, free: 8.227 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007763/0.008103, allocations: 468 kB / 419.5 MB, free: 7.938 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007645/0.008868, allocations: 0.544 MB / 420 MB, free: 7.613 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006342/0.009502, allocations: 0.6038 MB / 420.6 MB, free: 7.293 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004157/0.009918, allocations: 304.4 kB / 420.9 MB, free: 7.148 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004212/0.01034, allocations: 416.9 kB / 421.3 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.01066, allocations: 237.8 kB / 421.5 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.356e-05/0.01072, allocations: 53.09 kB / 421.6 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006027/0.01132, allocations: 449.6 kB / 422 MB, free: 6.836 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.01143, allocations: 128.4 kB / 422.2 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.01159, allocations: 192.5 kB / 422.3 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.01277, allocations: 1.128 MB / 423.5 MB, free: 6.199 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01277, allocations: 0 / 423.5 MB, free: 6.199 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01277, allocations: 1.312 kB / 423.5 MB, free: 6.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.01278, allocations: 0 / 423.5 MB, free: 6.199 MB / 330.7 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.001025/0.0138, allocations: 0.8015 MB / 424.3 MB, free: 5.637 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.01385, allocations: 10.03 kB / 424.3 MB, free: 5.637 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.897e-05/0.01392, allocations: 83.84 kB / 424.4 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.01413, allocations: 99.5 kB / 424.5 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.01451, allocations: 306.2 kB / 424.8 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.01455, allocations: 36.12 kB / 424.8 MB, free: 5.289 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.037e-05/0.01462, allocations: 55.09 kB / 424.8 MB, free: 5.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005663/0.01518, allocations: 449.6 kB / 425.3 MB, free: 5.086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.0152, allocations: 4.188 kB / 425.3 MB, free: 5.082 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.01523, allocations: 24.64 kB / 425.3 MB, free: 5.062 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.01524, allocations: 11.72 kB / 425.3 MB, free: 5.062 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006648/0.0159, allocations: 0.4995 MB / 425.8 MB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.01752, allocations: 1.208 MB / 427 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.01806, allocations: 336.5 kB / 427.4 MB, free: 4.074 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.0182, allocations: 110.8 kB / 427.5 MB, free: 4.023 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.01951, allocations: 0.8757 MB / 428.3 MB, free: 3.551 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.01952, allocations: 40.28 kB / 428.4 MB, free: 3.504 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.042e-06/0.01953, allocations: 0 / 428.4 MB, free: 3.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.007397/0.02692, allocations: 2.115 MB / 430.5 MB, free: 2.781 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.02696, allocations: 55.66 kB / 430.6 MB, free: 2.719 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.02727, allocations: 309.6 kB / 430.9 MB, free: 2.535 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.02729, allocations: 30.77 kB / 430.9 MB, free: 2.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.02743, allocations: 281.8 kB / 431.2 MB, free: 2.273 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/0.02749, allocations: 113.2 kB / 431.3 MB, free: 2.184 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.0276, allocations: 80.89 kB / 431.4 MB, free: 2.137 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.02766, allocations: 348 kB / 431.7 MB, free: 1.809 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.02787, allocations: 134.1 kB / 431.8 MB, free: 1.758 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.02814, allocations: 265.3 kB / 432.1 MB, free: 1.547 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.02864, allocations: 427.4 kB / 432.5 MB, free: 1.238 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.02865, allocations: 1.031 kB / 432.5 MB, free: 1.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002064/0.03071, allocations: 0.8086 MB / 433.3 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.03073, allocations: 9.531 kB / 433.3 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.03074, allocations: 5.406 kB / 433.3 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/0.0324, allocations: 419.5 kB / 433.7 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.03257, allocations: 81.48 kB / 433.8 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004106/0.03668, allocations: 3.731 MB / 437.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.03686, allocations: 16 kB / 437.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.0369, allocations: 25.97 kB / 437.6 MB, free: 13.49 MB / 346.7 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.0001999/0.0371, allocations: 168.3 kB / 437.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.03716, allocations: 35.7 kB / 437.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.03948, allocations: 0.8287 MB / 438.6 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.03948, allocations: 7.625 kB / 438.6 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.03949, allocations: 5.094 kB / 438.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.03949, allocations: 4.828 kB / 438.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/0.0401, allocations: 0.5453 MB / 439.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.0401, allocations: 6.578 kB / 439.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.04022, allocations: 55.83 kB / 439.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00194/0.04216, allocations: 484.2 kB / 439.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.04218, allocations: 18.45 kB / 439.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004128/0.04631, allocations: 4.929 MB / 444.7 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.04631, allocations: 6.438 kB / 444.7 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.04888, allocations: 1.112 MB / 445.8 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.04893, allocations: 43.69 kB / 445.8 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.04896, allocations: 12 kB / 445.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.04909, allocations: 8 kB / 445.8 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.04918, allocations: 51.92 kB / 445.9 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.0492, allocations: 12 kB / 445.9 MB, free: 6.699 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.04935, allocations: 207.1 kB / 446.1 MB, free: 6.496 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04935, allocations: 0 / 446.1 MB, free: 6.496 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007054/0.05005, allocations: 239.5 kB / 446.3 MB, free: 6.262 MB / 346.7 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.002921/0.05297, allocations: 1.854 MB / 448.2 MB, free: 4.348 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000811/0.05379, allocations: 0.6615 MB / 448.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.05379, allocations: 448 / 448.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004888/0.05428, allocations: 0.5978 MB / 449.4 MB, free: 3.023 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.05473, allocations: 97.95 kB / 449.5 MB, free: 2.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006484/0.06121, allocations: 4.54 MB / 454.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.06143, allocations: 228.2 kB / 454.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002249/0.06165, allocations: 75.2 kB / 454.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.06186, allocations: 172.4 kB / 454.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/0.06186, allocations: 0 / 454.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/0.09445, allocations: 16.8 MB / 471.3 MB, free: 13.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.601/8.695, allocations: 0 / 471.3 MB, free: 13.08 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_HeatingOfWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_HeatingOfWater.fmu > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.807488623075187] Failed to read output from testmodel.py, exit status != 0: 8.981043771840632 8.799134214 8.784685351 Calling exit ...