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.001367/0.001367, allocations: 113.5 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.00156/0.00156, allocations: 217.5 kB / 23.04 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.1681/0.1681, allocations: 23.85 MB / 337.1 MB, free: 11.2 MB / 270.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfWater,fileNamePrefix="Chemical_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.002262/0.002262, allocations: 59.91 kB / 471.9 MB, free: 7.711 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4159, allocations: 59.86 MB / 0.5193 GB, free: 9.605 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.04617/0.4621, allocations: 26.11 MB / 0.5448 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01443/0.4765, allocations: 8.414 MB / 0.5531 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.4781, allocations: 19.88 kB / 0.5531 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003194/0.4813, allocations: 0.7998 MB / 0.5539 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.4838, allocations: 0.5652 MB / 0.5544 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00302/0.4868, allocations: 0.7599 MB / 0.5551 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002751/0.4895, allocations: 1.13 MB / 0.5563 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005672/0.4901, allocations: 164.1 kB / 0.5564 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.4912, allocations: 376.4 kB / 0.5568 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.4924, allocations: 418.7 kB / 0.5572 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003657/0.4928, allocations: 80 kB / 0.5572 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005874/0.4987, allocations: 1.567 MB / 0.5588 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005992/0.4993, allocations: 267 kB / 0.559 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.5007, allocations: 0.5391 MB / 0.5596 GB, free: 296 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008311/0.509, allocations: 2.498 MB / 0.562 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.509, allocations: 0.7969 kB / 0.562 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.509, allocations: 0 / 0.562 GB, free: 14.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.955e-05/0.5091, 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.004337/0.5134, allocations: 1.399 MB / 0.5634 GB, free: 13.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.5134, allocations: 12.03 kB / 0.5634 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.118e-05/0.5135, allocations: 26.19 kB / 0.5634 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003272/0.5138, allocations: 160.7 kB / 0.5635 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000845/0.5147, allocations: 220 kB / 0.5638 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.5158, allocations: 0.5327 MB / 0.5643 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.516, allocations: 170 kB / 0.5644 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.5161, allocations: 96.06 kB / 0.5645 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004581/0.5207, allocations: 3.788 MB / 0.5682 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.5207, allocations: 3.938 kB / 0.5682 GB, free: 7.988 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.529e-05/0.5208, allocations: 31.98 kB / 0.5683 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001867/0.521, allocations: 146 kB / 0.5684 GB, free: 7.812 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008093/0.5291, allocations: 6.76 MB / 0.575 GB, free: 1.043 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.01748/0.5466, allocations: 9.514 MB / 0.5843 GB, free: 7.391 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/0.5496, allocations: 1.748 MB / 0.586 GB, free: 5.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002161/0.5518, allocations: 1.348 MB / 0.5873 GB, free: 4.281 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002006/0.5538, allocations: 0.6415 MB / 0.5879 GB, free: 3.641 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.5539, allocations: 42.44 kB / 0.588 GB, free: 3.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 3.878e-06/0.5539, allocations: 0 / 0.588 GB, free: 3.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=68): time 0.05917/0.613, allocations: 15.26 MB / 0.6029 GB, free: 4.281 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07638/0.6894, allocations: 22.29 MB / 0.6247 GB, free: 13.69 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.6913, allocations: 1.062 MB / 0.6257 GB, free: 12.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000346/0.6917, allocations: 37.7 kB / 0.6257 GB, free: 12.56 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005432/0.6922, allocations: 0.5162 MB / 0.6262 GB, free: 12.04 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000573/0.6928, allocations: 245.9 kB / 0.6265 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008956/0.6937, allocations: 262.5 kB / 0.6267 GB, free: 11.53 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6938, allocations: 334 kB / 0.627 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003531/0.6974, allocations: 2.426 MB / 0.6294 GB, free: 8.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003672/0.701, allocations: 2.55 MB / 0.6319 GB, free: 6.168 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005609/0.7067, allocations: 3.353 MB / 0.6352 GB, free: 2.766 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.7067, allocations: 0 / 0.6352 GB, free: 2.766 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01737/0.724, allocations: 6.8 MB / 0.6418 GB, free: 11.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.7241, allocations: 12.19 kB / 0.6418 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.7241, allocations: 4.094 kB / 0.6418 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01416/0.7383, allocations: 3.448 MB / 0.6452 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/0.7406, allocations: 323.6 kB / 0.6455 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02324/0.7638, allocations: 13.49 MB / 0.6587 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.7656, allocations: 87.92 kB / 0.6588 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005071/0.7661, allocations: 175.9 kB / 0.6589 GB, free: 10.23 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.001065/0.7672, allocations: 338.1 kB / 0.6593 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004892/0.7677, allocations: 103.3 kB / 0.6594 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/0.7818, allocations: 4.441 MB / 0.6637 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01294/0.7947, allocations: 3.669 MB / 0.6673 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.7947, allocations: 4 kB / 0.6673 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/0.7947, allocations: 7.922 kB / 0.6673 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01833/0.8131, allocations: 7.353 MB / 0.6745 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.8131, allocations: 3.938 kB / 0.6745 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/0.8147, allocations: 184 kB / 0.6746 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02937/0.8441, allocations: 3.708 MB / 0.6783 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002993/0.8444, allocations: 47.89 kB / 0.6783 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/0.8591, allocations: 6.464 MB / 0.6846 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06162/0.9207, allocations: 14.58 MB / 0.6989 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01554/0.9362, allocations: 5.706 MB / 0.7044 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004956/0.9367, allocations: 131.3 kB / 0.7046 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004417/0.9372, allocations: 19.94 kB / 0.7046 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/0.9387, allocations: 55.92 kB / 0.7046 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004272/0.9391, allocations: 100.2 kB / 0.7047 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002511/0.9394, allocations: 79.95 kB / 0.7048 GB, free: 10.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001937/0.9413, allocations: 1.016 MB / 0.7058 GB, free: 9.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.9413, allocations: 0 / 0.7058 GB, free: 9.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002525/0.9438, allocations: 0.5778 MB / 0.7064 GB, free: 8.941 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.01605/0.9599, allocations: 6.085 MB / 0.7123 GB, free: 2.773 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007793/0.9677, allocations: 3.681 MB / 0.7159 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.9677, allocations: 0 / 0.7159 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003935/0.9716, allocations: 1.457 MB / 0.7173 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.9735, allocations: 249.1 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.3381/1.312, allocations: 27.86 MB / 0.7448 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/1.313, allocations: 1.134 MB / 0.7459 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001749/1.315, allocations: 295.9 kB / 0.7462 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/1.316, allocations: 466 kB / 0.7466 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.673e-06/1.316, allocations: 0 / 0.7466 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/1.42, allocations: 61.42 MB / 0.8066 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.68/18.1, allocations: 7.297 kB / 0.8066 GB, free: 131.7 MB / 0.5606 GB " [Timeout remaining time 642] (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.329613934038207] Failed to read output from testmodel.py, exit status != 0: 18.320309701026417 18.336262024 17.823954498 Calling exit ...