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.001349/0.001349, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001782/0.001782, allocations: 212.6 kB / 22.24 MB, free: 5.242 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.793 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.1489/0.1489, allocations: 23.99 MB / 336.4 MB, free: 10.84 MB / 270.1 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.Obsolete.Examples.HeatingOfWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfWater,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfWater",fmuType="me",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: 67.91 kB / 471.3 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3321, allocations: 59.9 MB / 0.5187 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004009/0.3361, allocations: 3.206 MB / 0.5219 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004624/0.3407, allocations: 4.247 MB / 0.526 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003472/0.3411, allocations: 12.56 kB / 0.526 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004316/0.3415, allocations: 103.6 kB / 0.5261 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.3426, allocations: 451.9 kB / 0.5265 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.3439, allocations: 0.5278 MB / 0.5271 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006834/0.3446, allocations: 0.5823 MB / 0.5276 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003999/0.345, allocations: 302.8 kB / 0.5279 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003055/0.3453, allocations: 296.5 kB / 0.5282 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003852/0.3456, allocations: 268.8 kB / 0.5285 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.256e-05/0.3457, allocations: 56.72 kB / 0.5285 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009472/0.3467, allocations: 451.2 kB / 0.5289 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.3468, allocations: 127.1 kB / 0.5291 GB, free: 2.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.347, allocations: 228.9 kB / 0.5293 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.3486, allocations: 1.077 MB / 0.5303 GB, free: 2.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3486, allocations: 0.5312 kB / 0.5303 GB, free: 2.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3486, allocations: 0 / 0.5303 GB, free: 2.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.3486, allocations: 0.5312 kB / 0.5303 GB, free: 2.395 MB / 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.001373/0.35, allocations: 0.8067 MB / 0.5311 GB, free: 1.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.35, allocations: 9.656 kB / 0.5311 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.458e-05/0.3501, allocations: 90.23 kB / 0.5312 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003496/0.3505, allocations: 88.86 kB / 0.5313 GB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006635/0.3511, allocations: 309.9 kB / 0.5316 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.3512, allocations: 36.56 kB / 0.5316 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.548e-05/0.3512, allocations: 48.08 kB / 0.5317 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/0.352, allocations: 453.7 kB / 0.5321 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.352, allocations: 0.9062 kB / 0.5321 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.352, allocations: 19.81 kB / 0.5321 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.3521, allocations: 15.59 kB / 0.5321 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008075/0.3529, allocations: 0.5032 MB / 0.5326 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.355, allocations: 1.211 MB / 0.5338 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007282/0.3557, allocations: 342.6 kB / 0.5341 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.3559, allocations: 103.6 kB / 0.5342 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001986/0.3579, allocations: 0.8763 MB / 0.5351 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.3579, allocations: 37.31 kB / 0.5351 GB, free: 15.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.864e-06/0.3579, allocations: 0 / 0.5351 GB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01376/0.3717, allocations: 2.12 MB / 0.5372 GB, free: 14.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.3717, allocations: 54.75 kB / 0.5373 GB, free: 14.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/0.3722, allocations: 305.9 kB / 0.5375 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.3722, allocations: 35.02 kB / 0.5376 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.3725, allocations: 278.9 kB / 0.5378 GB, free: 14.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.3726, allocations: 118.6 kB / 0.538 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.3728, allocations: 84.16 kB / 0.538 GB, free: 14.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3729, allocations: 341 kB / 0.5384 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.3732, allocations: 136.8 kB / 0.5385 GB, free: 13.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.3736, allocations: 265.9 kB / 0.5388 GB, free: 13.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006801/0.3743, allocations: 431.9 kB / 0.5392 GB, free: 13.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3743, allocations: 1.094 kB / 0.5392 GB, free: 13.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003997/0.3783, allocations: 0.8088 MB / 0.54 GB, free: 13.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.3783, allocations: 6.875 kB / 0.54 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3783, allocations: 8.156 kB / 0.54 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003426/0.3817, allocations: 412.2 kB / 0.5404 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.382, allocations: 77.94 kB / 0.5404 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006669/0.3887, allocations: 3.751 MB / 0.5441 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.3891, allocations: 16.5 kB / 0.5441 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/0.3892, allocations: 18.86 kB / 0.5441 GB, free: 9.949 MB / 398.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.000289/0.3895, allocations: 172.8 kB / 0.5443 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.92e-05/0.3896, allocations: 35.56 kB / 0.5443 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004776/0.3943, allocations: 0.8233 MB / 0.5451 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.3943, allocations: 4 kB / 0.5451 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.3943, allocations: 1.438 kB / 0.5451 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.3944, allocations: 1.922 kB / 0.5451 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.3955, allocations: 0.5478 MB / 0.5457 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.3955, allocations: 2.75 kB / 0.5457 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.3957, allocations: 54.5 kB / 0.5457 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00437/0.4001, allocations: 491.1 kB / 0.5462 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-05/0.4001, allocations: 18.62 kB / 0.5462 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007509/0.4076, allocations: 4.936 MB / 0.551 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4076, allocations: 1.969 kB / 0.551 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005048/0.4127, allocations: 1.127 MB / 0.5521 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.4128, allocations: 35.67 kB / 0.5522 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.4129, allocations: 8.031 kB / 0.5522 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.4132, allocations: 13.09 kB / 0.5522 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.4133, allocations: 48.59 kB / 0.5522 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.4134, allocations: 28.09 kB / 0.5523 GB, free: 3.527 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002485/0.4136, allocations: 206 kB / 0.5525 GB, free: 3.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4136, allocations: 0 / 0.5525 GB, free: 3.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000989/0.4146, allocations: 241.5 kB / 0.5527 GB, free: 3.34 MB / 398.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.005811/0.4204, allocations: 1.836 MB / 0.5545 GB, free: 2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.4219, allocations: 0.6646 MB / 0.5551 GB, free: 1.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/0.4219, allocations: 1.125 kB / 0.5551 GB, free: 1.551 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009894/0.4229, allocations: 0.607 MB / 0.5557 GB, free: 1.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007528/0.4236, allocations: 108.1 kB / 0.5558 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.4355, allocations: 4.598 MB / 0.5603 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.4358, allocations: 224.2 kB / 0.5605 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002992/0.4361, allocations: 71.27 kB / 0.5606 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.4364, allocations: 183.3 kB / 0.5608 GB, free: 13.05 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4364, allocations: 0 / 0.5608 GB, free: 13.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05804/0.4944, allocations: 16.66 MB / 0.577 GB, free: 12.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.04, allocations: 2.656 kB / 0.5771 GB, free: 12.61 MB / 430.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 os._exit(0), Time elapsed: 16.86912493268028] Failed to read output from testmodel.py, exit status != 0: 14.171136520802975 14.192027615 13.839174592 Calling exit ...