Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001409/0.001409, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.001749/0.001749, allocations: 218.9 kB / 22.26 MB, free: 5.125 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.611/1.611, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.1777/0.1777, allocations: 23.85 MB / 336.3 MB, free: 11.18 MB / 270.1 MB " [Timeout remaining time 179] 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.Examples.HeatingOfWater,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfWater,fileNamePrefix="Chemical_Chemical_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.002509/0.002509, allocations: 71.89 kB / 471.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4031, allocations: 59.85 MB / 0.5186 GB, free: 9.629 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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 2.0.0/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.04425/0.4473, allocations: 26.31 MB / 0.5442 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.4604, allocations: 8.406 MB / 0.5525 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.4617, allocations: 15.94 kB / 0.5525 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003006/0.4647, allocations: 0.8043 MB / 0.5533 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.4667, allocations: 0.5507 MB / 0.5538 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.4689, allocations: 0.7374 MB / 0.5545 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002033/0.471, allocations: 1.129 MB / 0.5556 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.4713, allocations: 160.5 kB / 0.5558 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.4718, allocations: 380 kB / 0.5561 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000694/0.4725, allocations: 423.2 kB / 0.5565 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.4727, allocations: 84 kB / 0.5566 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0045/0.4772, allocations: 1.558 MB / 0.5581 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004015/0.4776, allocations: 279.2 kB / 0.5584 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008699/0.4784, allocations: 0.5343 MB / 0.5589 GB, free: 132 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00786/0.4863, allocations: 2.491 MB / 0.5614 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4863, allocations: 0 / 0.5614 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4863, allocations: 0 / 0.5614 GB, free: 14.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.026e-05/0.4863, allocations: 0 / 0.5614 GB, free: 14.29 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.003375/0.4897, allocations: 1.411 MB / 0.5627 GB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.4898, allocations: 12.03 kB / 0.5627 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000214/0.49, allocations: 152.8 kB / 0.5629 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007248/0.4907, allocations: 224 kB / 0.5631 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.4918, allocations: 0.5327 MB / 0.5636 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.492, allocations: 169.9 kB / 0.5638 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.4922, allocations: 92.33 kB / 0.5639 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004584/0.4967, allocations: 3.791 MB / 0.5676 GB, free: 7.859 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.4968, allocations: 0 / 0.5676 GB, free: 7.859 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.69e-05/0.4969, allocations: 32 kB / 0.5676 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002022/0.4971, allocations: 146 kB / 0.5678 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007992/0.505, allocations: 6.764 MB / 0.5744 GB, free: 0.9102 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.01579/0.5208, allocations: 9.511 MB / 0.5836 GB, free: 7.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/0.5237, allocations: 1.744 MB / 0.5853 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001997/0.5257, allocations: 1.352 MB / 0.5867 GB, free: 4.148 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002016/0.5277, allocations: 0.6298 MB / 0.5873 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/0.5277, allocations: 42.56 kB / 0.5873 GB, free: 3.469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 3.787e-06/0.5277, allocations: 0 / 0.5873 GB, free: 3.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=68): time 0.05565/0.5834, allocations: 15.26 MB / 0.6022 GB, free: 4.152 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07208/0.6555, allocations: 22.29 MB / 0.624 GB, free: 13.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.657, allocations: 1.062 MB / 0.625 GB, free: 12.49 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002608/0.6573, allocations: 33.7 kB / 0.6251 GB, free: 12.45 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005503/0.6578, allocations: 0.5319 MB / 0.6256 GB, free: 11.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000378/0.6582, allocations: 241.9 kB / 0.6258 GB, free: 11.67 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000696/0.6589, allocations: 262.4 kB / 0.6261 GB, free: 11.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.6591, allocations: 334 kB / 0.6264 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003394/0.6625, allocations: 2.426 MB / 0.6287 GB, free: 8.648 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003749/0.6663, allocations: 2.558 MB / 0.6312 GB, free: 6.039 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005228/0.6715, allocations: 3.349 MB / 0.6345 GB, free: 2.641 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6715, allocations: 0 / 0.6345 GB, free: 2.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01767/0.6892, allocations: 6.807 MB / 0.6412 GB, free: 11.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/0.6892, allocations: 11.94 kB / 0.6412 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-05/0.6893, allocations: 8.188 kB / 0.6412 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01519/0.7044, allocations: 3.449 MB / 0.6446 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/0.7068, allocations: 319.6 kB / 0.6449 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02453/0.7313, allocations: 13.48 MB / 0.658 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.7333, allocations: 83.92 kB / 0.6581 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00061/0.7339, allocations: 175.9 kB / 0.6583 GB, free: 10.1 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.001305/0.7352, allocations: 330.1 kB / 0.6586 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005413/0.7358, allocations: 103.3 kB / 0.6587 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/0.7499, allocations: 4.449 MB / 0.663 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01214/0.762, allocations: 3.677 MB / 0.6666 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/0.7621, allocations: 4 kB / 0.6666 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.216e-05/0.7621, allocations: 0 / 0.6666 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0186/0.7807, allocations: 7.353 MB / 0.6738 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/0.7807, allocations: 4 kB / 0.6738 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/0.7823, allocations: 180.1 kB / 0.674 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0275/0.8098, allocations: 3.712 MB / 0.6776 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002857/0.8101, allocations: 43.95 kB / 0.6776 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/0.8243, allocations: 6.467 MB / 0.684 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06081/0.8851, allocations: 14.58 MB / 0.6982 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01559/0.9007, allocations: 5.721 MB / 0.7038 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005478/0.9013, allocations: 139.3 kB / 0.7039 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003908/0.9016, allocations: 16 kB / 0.7039 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/0.9032, allocations: 55.92 kB / 0.704 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004272/0.9036, allocations: 96.28 kB / 0.7041 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/0.9038, allocations: 79.95 kB / 0.7042 GB, free: 10.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001821/0.9057, allocations: 1.016 MB / 0.7051 GB, free: 9.383 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.9057, allocations: 0 / 0.7051 GB, free: 9.383 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002584/0.9082, allocations: 0.5816 MB / 0.7057 GB, free: 8.801 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.01514/0.9234, allocations: 6.081 MB / 0.7117 GB, free: 2.637 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007095/0.9305, allocations: 3.673 MB / 0.7152 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.9305, allocations: 3.938 kB / 0.7152 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003752/0.9342, allocations: 1.461 MB / 0.7167 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.9359, allocations: 246.2 kB / 0.7169 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3377/1.274, allocations: 27.87 MB / 0.7441 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/1.275, allocations: 1.127 MB / 0.7452 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00165/1.276, allocations: 294.4 kB / 0.7455 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/1.278, allocations: 471.7 kB / 0.746 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.643e-06/1.278, allocations: 0 / 0.746 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1191/1.397, allocations: 61.36 MB / 0.8059 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.12/18.52, allocations: 5.609 kB / 0.8059 GB, free: 131.5 MB / 0.5606 GB " [Timeout remaining time 641] (rm -f Chemical_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_HeatingOfWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_HeatingOfWater.fmu > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.914653290994465] Failed to read output from testmodel.py, exit status != 0: 18.667864296818152 18.677880884 18.189156432 Calling exit ...