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.001338/0.001338, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001425/0.001425, allocations: 220.6 kB / 23.03 MB, free: 4.945 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1392/0.1392, allocations: 23.91 MB / 337.1 MB, free: 10.96 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.00206/0.00206, allocations: 67.89 kB / 471.9 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3318, allocations: 59.86 MB / 0.5193 GB, free: 9.488 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.07587/0.4077, allocations: 25.45 MB / 0.5442 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.4188, allocations: 7.239 MB / 0.5512 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008835/0.4197, allocations: 11.94 kB / 0.5513 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002475/0.4222, allocations: 0.7337 MB / 0.552 GB, free: 6.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.4238, allocations: 0.5648 MB / 0.5525 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.4258, allocations: 0.7605 MB / 0.5533 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001745/0.4276, allocations: 1.129 MB / 0.5544 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003071/0.4279, allocations: 160.4 kB / 0.5545 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004556/0.4283, allocations: 376.8 kB / 0.5549 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005513/0.4289, allocations: 422.9 kB / 0.5553 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.429, allocations: 80 kB / 0.5554 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.4314, allocations: 0.9833 MB / 0.5563 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.4317, allocations: 271.5 kB / 0.5566 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004567/0.4321, allocations: 419.7 kB / 0.557 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003483/0.4356, allocations: 2.317 MB / 0.5592 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4356, allocations: 4 kB / 0.5592 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4356, allocations: 0 / 0.5592 GB, free: 0.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.4356, allocations: 0 / 0.5592 GB, free: 0.75 MB / 398.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.002464/0.4381, allocations: 1.401 MB / 0.5606 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4381, allocations: 12.59 kB / 0.5606 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.836e-05/0.4382, allocations: 22.19 kB / 0.5606 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001905/0.4384, allocations: 157.5 kB / 0.5608 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006102/0.439, allocations: 213.8 kB / 0.561 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008932/0.4399, allocations: 0.536 MB / 0.5615 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.4401, allocations: 172.8 kB / 0.5617 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.4402, allocations: 92.06 kB / 0.5618 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004278/0.4445, allocations: 3.785 MB / 0.5655 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.4445, allocations: 0 / 0.5655 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-05/0.4446, allocations: 39.98 kB / 0.5655 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/0.4448, allocations: 153.9 kB / 0.5657 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007148/0.4519, allocations: 6.76 MB / 0.5723 GB, free: 3.605 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.01348/0.4654, allocations: 8.996 MB / 0.581 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002717/0.4681, allocations: 1.744 MB / 0.5828 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.47, allocations: 1.344 MB / 0.5841 GB, free: 7.426 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/0.4719, allocations: 0.6376 MB / 0.5847 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.4719, allocations: 42.44 kB / 0.5847 GB, free: 6.738 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 3.266e-06/0.4719, allocations: 0 / 0.5847 GB, free: 6.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=68): time 0.05726/0.5292, allocations: 15.28 MB / 0.5996 GB, free: 7.406 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07272/0.6019, allocations: 21.99 MB / 0.6211 GB, free: 1.121 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.6034, allocations: 1.066 MB / 0.6222 GB, free: 32 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002741/0.6037, allocations: 37.78 kB / 0.6222 GB, free: 15.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.6041, allocations: 0.5082 MB / 0.6227 GB, free: 15.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000393/0.6045, allocations: 245.9 kB / 0.6229 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007602/0.6053, allocations: 262.5 kB / 0.6232 GB, free: 14.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6054, allocations: 342.1 kB / 0.6235 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/0.6088, allocations: 2.423 MB / 0.6259 GB, free: 12.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003534/0.6123, allocations: 2.558 MB / 0.6284 GB, free: 9.594 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005091/0.6174, allocations: 3.345 MB / 0.6316 GB, free: 6.199 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6174, allocations: 0 / 0.6316 GB, free: 6.199 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01707/0.6345, allocations: 6.815 MB / 0.6383 GB, free: 15.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.6345, allocations: 8 kB / 0.6383 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.6345, allocations: 4.188 kB / 0.6383 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01413/0.6487, allocations: 3.456 MB / 0.6417 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/0.6509, allocations: 311.6 kB / 0.642 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02183/0.6727, allocations: 13.3 MB / 0.655 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.6746, allocations: 83.92 kB / 0.655 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003537/0.6749, allocations: 179.9 kB / 0.6552 GB, free: 13.84 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.0008075/0.6757, allocations: 333.9 kB / 0.6555 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/0.6761, allocations: 99.34 kB / 0.6556 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/0.6897, allocations: 4.46 MB / 0.66 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0118/0.7015, allocations: 3.673 MB / 0.6636 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.7015, allocations: 0 / 0.6636 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/0.7015, allocations: 3.984 kB / 0.6636 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/0.7186, allocations: 6.795 MB / 0.6702 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.7186, allocations: 4 kB / 0.6702 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/0.7201, allocations: 171.7 kB / 0.6704 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02969/0.7498, allocations: 3.712 MB / 0.674 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002366/0.7501, allocations: 51.89 kB / 0.674 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0138/0.7639, allocations: 6.319 MB / 0.6802 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06/0.8239, allocations: 14.28 MB / 0.6942 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01473/0.8386, allocations: 5.713 MB / 0.6997 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/0.839, allocations: 135.3 kB / 0.6999 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002867/0.8392, allocations: 19.95 kB / 0.6999 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.8407, allocations: 63.91 kB / 0.7 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003777/0.841, allocations: 96.23 kB / 0.7 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/0.8412, allocations: 87.94 kB / 0.7001 GB, free: 15.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001443/0.8427, allocations: 1.008 MB / 0.7011 GB, free: 14.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8427, allocations: 0 / 0.7011 GB, free: 14.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001978/0.8447, allocations: 0.5856 MB / 0.7017 GB, free: 13.53 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.01478/0.8594, allocations: 6.073 MB / 0.7076 GB, free: 7.375 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006804/0.8662, allocations: 3.677 MB / 0.7112 GB, free: 3.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.8663, allocations: 0 / 0.7112 GB, free: 3.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003639/0.8699, allocations: 1.457 MB / 0.7126 GB, free: 2.215 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.8713, allocations: 259.3 kB / 0.7129 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2561/1.127, allocations: 27.88 MB / 0.7401 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/1.128, allocations: 0.53 MB / 0.7406 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001329/1.129, allocations: 299.6 kB / 0.7409 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/1.13, allocations: 466.5 kB / 0.7414 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/1.13, allocations: 1.125 kB / 0.7414 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09197/1.222, allocations: 63.13 MB / 0.803 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.81/18.03, allocations: 11.91 kB / 0.803 GB, free: 135.1 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: 20.944138481048867] Failed to read output from testmodel.py, exit status != 0: 18.232565920916386 18.242916848 17.805064419 Calling exit ...