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.0008825/0.0008825, 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.0008846/0.0008846, 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.9442/0.9442, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.09838/0.09838, allocations: 17.38 MB / 276.6 MB, free: 11.84 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.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: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 411.4 MB, free: 444 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.408e-05, allocations: 2.281 kB / 411.4 MB, free: 440 kB / 378.7 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.02225/0.02227, allocations: 26.1 MB / 437.5 MB, free: 6.398 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2154/0.2376, allocations: 7.244 MB / 444.8 MB, free: 59.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.2386, allocations: 19.5 kB / 444.8 MB, free: 59.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.2407, allocations: 0.7243 MB / 445.5 MB, free: 59.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.2421, allocations: 0.5712 MB / 446.1 MB, free: 59.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.2439, allocations: 0.7547 MB / 446.8 MB, free: 59.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.2452, allocations: 1.17 MB / 448 MB, free: 58.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.2456, allocations: 154 kB / 448.2 MB, free: 58.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005474/0.2461, allocations: 0.5383 MB / 448.7 MB, free: 58.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.2464, allocations: 310.3 kB / 449 MB, free: 58.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.365e-05/0.2465, allocations: 83.78 kB / 449.1 MB, free: 58.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00236/0.2489, allocations: 0.9653 MB / 450 MB, free: 58.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.2491, allocations: 265 kB / 450.3 MB, free: 58.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.2493, allocations: 329.9 kB / 450.6 MB, free: 58.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003272/0.2526, allocations: 2.349 MB / 453 MB, free: 57.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2526, allocations: 3.188 kB / 453 MB, free: 57.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.2526, allocations: 0 / 453 MB, free: 57.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.011e-05/0.2526, allocations: 0 / 453 MB, free: 57.7 MB / 410.7 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.001607/0.2542, allocations: 1.393 MB / 454.4 MB, free: 56.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.2543, allocations: 9.344 kB / 454.4 MB, free: 56.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.2544, allocations: 151.7 kB / 454.5 MB, free: 56.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003896/0.2548, allocations: 217.3 kB / 454.7 MB, free: 56.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005961/0.2554, allocations: 0.5307 MB / 455.3 MB, free: 56.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.2555, allocations: 179.7 kB / 455.5 MB, free: 56.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.771e-05/0.2556, allocations: 87.94 kB / 455.5 MB, free: 56.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.2578, allocations: 3.786 MB / 459.3 MB, free: 54.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.2578, allocations: 9.625 kB / 459.3 MB, free: 54.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.2579, allocations: 35.27 kB / 459.4 MB, free: 54.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.579e-05/0.258, allocations: 143.5 kB / 459.5 MB, free: 54.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00364/0.2616, allocations: 6.751 MB / 466.3 MB, free: 51.93 MB / 410.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.007839/0.2695, allocations: 8.988 MB / 475.2 MB, free: 47.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.2714, allocations: 1.742 MB / 477 MB, free: 47.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.2726, allocations: 1.346 MB / 478.3 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/0.2737, allocations: 0.6402 MB / 479 MB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.2737, allocations: 36.75 kB / 479 MB, free: 46.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.857e-06/0.2737, allocations: 0 / 479 MB, free: 46.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=68): time 0.03038/0.3041, allocations: 15.31 MB / 494.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03665/0.3408, allocations: 22.01 MB / 0.5042 GB, free: 24.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009142/0.3417, allocations: 1.07 MB / 0.5053 GB, free: 23.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002665/0.342, allocations: 37.7 kB / 0.5053 GB, free: 23.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.3422, allocations: 0.5109 MB / 0.5058 GB, free: 22.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.3424, allocations: 243.6 kB / 0.506 GB, free: 22.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003991/0.3428, allocations: 271.8 kB / 0.5063 GB, free: 22.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.525e-05/0.3428, allocations: 336.4 kB / 0.5066 GB, free: 21.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.3445, allocations: 2.421 MB / 0.509 GB, free: 19.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.3463, allocations: 2.553 MB / 0.5115 GB, free: 16.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002755/0.3491, allocations: 3.348 MB / 0.5147 GB, free: 13.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3491, allocations: 0 / 0.5147 GB, free: 13.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.008222/0.3573, allocations: 6.811 MB / 0.5214 GB, free: 6.562 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.3573, allocations: 11.94 kB / 0.5214 GB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.3574, allocations: 4 kB / 0.5214 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006646/0.364, allocations: 3.463 MB / 0.5248 GB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.3653, allocations: 318.6 kB / 0.5251 GB, free: 2.832 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/0.3784, allocations: 13.31 MB / 0.5381 GB, free: 5.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.3796, allocations: 75.94 kB / 0.5382 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/0.3798, allocations: 179.9 kB / 0.5383 GB, free: 5.148 MB / 426.7 MB 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.0007322/0.3806, allocations: 337.1 kB / 0.5387 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.3808, allocations: 107.2 kB / 0.5388 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00748/0.3883, allocations: 4.441 MB / 0.5431 GB, free: 288 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006496/0.3948, allocations: 3.678 MB / 0.5467 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.3948, allocations: 4 kB / 0.5467 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.3948, allocations: 3.984 kB / 0.5467 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009983/0.4048, allocations: 6.797 MB / 0.5533 GB, free: 5.695 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.4048, allocations: 4 kB / 0.5533 GB, free: 5.691 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008441/0.4056, allocations: 176.6 kB / 0.5535 GB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01361/0.4193, allocations: 3.75 MB / 0.5572 GB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/0.4195, allocations: 46.64 kB / 0.5572 GB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007972/0.4275, allocations: 6.336 MB / 0.5634 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03037/0.4579, allocations: 14.3 MB / 0.5774 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008786/0.4666, allocations: 5.7 MB / 0.5829 GB, free: 7.059 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/0.467, allocations: 139.2 kB / 0.5831 GB, free: 6.922 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.4672, allocations: 23.98 kB / 0.5831 GB, free: 6.898 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006791/0.4679, allocations: 55.92 kB / 0.5831 GB, free: 6.844 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/0.4682, allocations: 102.9 kB / 0.5832 GB, free: 6.746 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.4683, allocations: 75.95 kB / 0.5833 GB, free: 6.672 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001053/0.4693, allocations: 1.016 MB / 0.5843 GB, free: 5.645 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4693, allocations: 4 kB / 0.5843 GB, free: 5.641 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001791/0.4711, allocations: 0.5777 MB / 0.5849 GB, free: 5.062 MB / 474.7 MB 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.009028/0.4801, allocations: 6.101 MB / 0.5908 GB, free: 14.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004772/0.4849, allocations: 3.672 MB / 0.5944 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4849, allocations: 3.938 kB / 0.5944 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002121/0.487, allocations: 1.46 MB / 0.5959 GB, free: 9.824 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.4882, allocations: 249 kB / 0.5961 GB, free: 9.609 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1937/0.6819, allocations: 27.43 MB / 0.6229 GB, free: 154.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.6823, allocations: 0.5352 MB / 0.6234 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001115/0.6834, allocations: 296.5 kB / 0.6237 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007695/0.6842, allocations: 469.2 kB / 0.6241 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of SimCode: time 2.134e-06/0.6842, allocations: 0 / 0.6241 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0899/0.7741, allocations: 63.83 MB / 0.6865 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.982/10.76, allocations: 7.062 kB / 0.6865 GB, free: 127.6 MB / 0.4948 GB " [Timeout remaining time 649] (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: 12.831206019967794] Failed to read output from testmodel.py, exit status != 0: 10.873088431544602 10.885450429 10.631143059 Calling exit ...