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.001271/0.001271, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001532/0.001532, allocations: 220.3 kB / 23.05 MB, free: 5.074 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 8 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.1408/0.1408, allocations: 23.87 MB / 337.1 MB, free: 11.18 MB / 270.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.89 kB / 472 MB, free: 7.695 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3134, allocations: 59.86 MB / 0.5194 GB, free: 9.566 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.03721/0.3507, allocations: 26.13 MB / 0.5449 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.3625, allocations: 8.406 MB / 0.5531 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008357/0.3634, allocations: 15.94 kB / 0.5531 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.3658, allocations: 0.8076 MB / 0.5539 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.3675, allocations: 0.5535 MB / 0.5544 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.3695, allocations: 0.772 MB / 0.5552 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.3713, allocations: 1.128 MB / 0.5563 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003061/0.3716, allocations: 156.6 kB / 0.5565 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004678/0.3721, allocations: 376.4 kB / 0.5568 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005594/0.3726, allocations: 422.9 kB / 0.5572 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.3728, allocations: 80 kB / 0.5573 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003566/0.3763, allocations: 1.562 MB / 0.5588 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002966/0.3766, allocations: 271.5 kB / 0.5591 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005354/0.3772, allocations: 0.5385 MB / 0.5596 GB, free: 288 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004268/0.3814, allocations: 2.495 MB / 0.562 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3814, allocations: 0 / 0.562 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3814, allocations: 0 / 0.562 GB, free: 14.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.3814, allocations: 0 / 0.562 GB, free: 14.44 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.00258/0.384, allocations: 1.407 MB / 0.5634 GB, free: 13.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3841, allocations: 12.03 kB / 0.5634 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.538e-05/0.3841, allocations: 22.19 kB / 0.5634 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001741/0.3843, allocations: 156.7 kB / 0.5636 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006284/0.3849, allocations: 224 kB / 0.5638 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000901/0.3858, allocations: 0.5249 MB / 0.5643 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.386, allocations: 173.9 kB / 0.5645 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.3861, allocations: 92.08 kB / 0.5646 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004284/0.3904, allocations: 3.799 MB / 0.5683 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.3904, allocations: 3.984 kB / 0.5683 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.3905, allocations: 32 kB / 0.5683 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/0.3907, allocations: 142 kB / 0.5685 GB, free: 7.805 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007339/0.398, allocations: 6.764 MB / 0.5751 GB, free: 1.031 MB / 414.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.01431/0.4124, allocations: 9.522 MB / 0.5844 GB, free: 7.371 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002745/0.4151, allocations: 1.736 MB / 0.5861 GB, free: 5.625 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.4169, allocations: 1.348 MB / 0.5874 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001785/0.4187, allocations: 0.6376 MB / 0.588 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.4188, allocations: 38.5 kB / 0.588 GB, free: 3.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 1.299e-05/0.4188, allocations: 4 kB / 0.588 GB, free: 3.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=68): time 0.05541/0.4742, allocations: 15.26 MB / 0.6029 GB, free: 4.277 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07426/0.5484, allocations: 22.3 MB / 0.6247 GB, free: 13.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.5499, allocations: 1.066 MB / 0.6258 GB, free: 12.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002855/0.5502, allocations: 37.7 kB / 0.6258 GB, free: 12.55 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/0.5507, allocations: 0.5122 MB / 0.6263 GB, free: 12.03 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004063/0.5511, allocations: 241.9 kB / 0.6265 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007655/0.5519, allocations: 266.6 kB / 0.6268 GB, free: 11.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.552, allocations: 334 kB / 0.6271 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003426/0.5555, allocations: 2.426 MB / 0.6295 GB, free: 8.762 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003698/0.5592, allocations: 2.558 MB / 0.632 GB, free: 6.152 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005647/0.5648, allocations: 3.341 MB / 0.6352 GB, free: 2.762 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.5648, allocations: 0 / 0.6352 GB, free: 2.762 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01743/0.5822, allocations: 6.811 MB / 0.6419 GB, free: 11.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.5823, allocations: 7.938 kB / 0.6419 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.5823, allocations: 4 kB / 0.6419 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01463/0.5969, allocations: 3.453 MB / 0.6453 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002362/0.5993, allocations: 319.5 kB / 0.6456 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02337/0.6227, allocations: 13.48 MB / 0.6587 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.6245, allocations: 87.86 kB / 0.6588 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004027/0.6249, allocations: 179.9 kB / 0.659 GB, free: 10.22 MB / 0.4981 GB 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.0009056/0.6258, allocations: 338 kB / 0.6593 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000428/0.6262, allocations: 103.3 kB / 0.6594 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/0.6403, allocations: 4.441 MB / 0.6637 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01215/0.6525, allocations: 3.673 MB / 0.6673 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.6525, allocations: 4 kB / 0.6673 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/0.6525, allocations: 3.984 kB / 0.6673 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/0.6706, allocations: 7.357 MB / 0.6745 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.6706, allocations: 0 / 0.6745 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.6723, allocations: 176.1 kB / 0.6747 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02924/0.7015, allocations: 3.708 MB / 0.6783 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002735/0.7018, allocations: 51.95 kB / 0.6784 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01404/0.7158, allocations: 6.467 MB / 0.6847 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06021/0.776, allocations: 14.58 MB / 0.6989 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01488/0.7909, allocations: 5.706 MB / 0.7045 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.7913, allocations: 139.2 kB / 0.7046 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002824/0.7916, allocations: 24 kB / 0.7046 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.7929, allocations: 51.92 kB / 0.7047 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003854/0.7933, allocations: 100.2 kB / 0.7048 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/0.7935, allocations: 79.95 kB / 0.7049 GB, free: 10.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001415/0.7949, allocations: 1.012 MB / 0.7058 GB, free: 9.512 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7949, allocations: 0 / 0.7058 GB, free: 9.512 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001957/0.7969, allocations: 0.5856 MB / 0.7064 GB, free: 8.926 MB / 0.545 GB 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.01491/0.8118, allocations: 6.074 MB / 0.7123 GB, free: 2.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006836/0.8186, allocations: 3.685 MB / 0.7159 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/0.8186, allocations: 0 / 0.7159 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003697/0.8223, allocations: 1.461 MB / 0.7174 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.824, allocations: 240.4 kB / 0.7176 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2607/1.085, allocations: 27.87 MB / 0.7448 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006961/1.085, allocations: 1.133 MB / 0.7459 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001382/1.087, allocations: 296.5 kB / 0.7462 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.088, allocations: 468.1 kB / 0.7467 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/1.088, allocations: 0 / 0.7467 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08953/1.177, allocations: 61.41 MB / 0.8066 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.96/18.14, allocations: 6.391 kB / 0.8066 GB, free: 131.6 MB / 0.5606 GB " [Timeout remaining time 642] (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: 21.16457439097576] Failed to read output from testmodel.py, exit status != 0: 18.35443371697329 18.371003505 17.986521457 Calling exit ...