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.001121/0.001121, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001498/0.001498, allocations: 217.7 kB / 22.25 MB, free: 5.105 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.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.801 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.1291/0.1291, allocations: 23.92 MB / 336.4 MB, free: 10.92 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfWater,fileNamePrefix="Chemical_master_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.001907/0.001907, allocations: 67.89 kB / 471.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3028, allocations: 59.87 MB / 0.5186 GB, free: 9.492 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1350:7-1350: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:1350:7-1350: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.06753/0.3704, allocations: 25.71 MB / 0.5437 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.382, allocations: 7.253 MB / 0.5508 GB, free: 7.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009681/0.3829, allocations: 19.88 kB / 0.5508 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.3852, allocations: 0.6784 MB / 0.5515 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.3869, allocations: 0.5824 MB / 0.552 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.389, allocations: 0.7378 MB / 0.5528 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001782/0.3908, allocations: 1.123 MB / 0.5539 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.3911, allocations: 164.3 kB / 0.554 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004479/0.3915, allocations: 385.9 kB / 0.5544 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007887/0.3923, allocations: 0.5133 MB / 0.5549 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.3924, allocations: 76 kB / 0.5549 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.3946, allocations: 0.9127 MB / 0.5558 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.3948, allocations: 247.6 kB / 0.5561 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003944/0.3952, allocations: 404.4 kB / 0.5565 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002928/0.3982, allocations: 2.214 MB / 0.5586 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3982, allocations: 0.6562 kB / 0.5586 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3982, allocations: 0 / 0.5586 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.3982, allocations: 0 / 0.5586 GB, free: 0.5781 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.002277/0.4005, allocations: 1.377 MB / 0.56 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4005, allocations: 8.688 kB / 0.56 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001895/0.4007, allocations: 157.4 kB / 0.5601 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000453/0.4011, allocations: 198.1 kB / 0.5603 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007946/0.4019, allocations: 0.4961 MB / 0.5608 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.4021, allocations: 128.9 kB / 0.5609 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.4022, allocations: 84.36 kB / 0.561 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003341/0.4055, allocations: 3.085 MB / 0.564 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.4056, allocations: 0 / 0.564 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/0.4056, allocations: 35.98 kB / 0.5641 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/0.4058, allocations: 130 kB / 0.5642 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005907/0.4117, allocations: 5.854 MB / 0.5699 GB, free: 5.25 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.007308/0.419, allocations: 4.642 MB / 0.5744 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008455/0.4199, allocations: 390.7 kB / 0.5748 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.4202, allocations: 244.8 kB / 0.575 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003843/0.4241, allocations: 2.032 MB / 0.577 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.4241, allocations: 30.56 kB / 0.577 GB, free: 13.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.4241, allocations: 0 / 0.577 GB, free: 13.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.0173/0.4414, allocations: 3.88 MB / 0.5808 GB, free: 9.809 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.4414, allocations: 59.41 kB / 0.5809 GB, free: 9.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008765/0.4423, allocations: 0.7229 MB / 0.5816 GB, free: 9.008 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.02e-05/0.4424, allocations: 33.7 kB / 0.5816 GB, free: 8.969 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004715/0.4429, allocations: 0.624 MB / 0.5822 GB, free: 8.336 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.443, allocations: 174.6 kB / 0.5824 GB, free: 8.164 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/0.4433, allocations: 218.5 kB / 0.5826 GB, free: 7.945 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.4435, allocations: 394.7 kB / 0.583 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/0.444, allocations: 285.9 kB / 0.5833 GB, free: 7.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007703/0.4448, allocations: 0.6534 MB / 0.5839 GB, free: 6.441 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.4461, allocations: 0.9991 MB / 0.5849 GB, free: 5.266 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.4461, allocations: 8 kB / 0.5849 GB, free: 5.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.005524/0.4517, allocations: 1.478 MB / 0.5863 GB, free: 3.762 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.4517, allocations: 12 kB / 0.5863 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.4517, allocations: 16.16 kB / 0.5864 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005267/0.457, allocations: 0.6462 MB / 0.587 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.458, allocations: 259.6 kB / 0.5872 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003879/0.4619, allocations: 2.855 MB / 0.59 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006495/0.4625, allocations: 28 kB / 0.59 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.4627, allocations: 128 kB / 0.5902 GB, free: 15.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 2 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,5), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005711/0.4633, allocations: 349.4 kB / 0.5905 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.4634, allocations: 79.48 kB / 0.5906 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006192/0.4696, allocations: 1.448 MB / 0.592 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.4696, allocations: 4 kB / 0.592 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4697, allocations: 4 kB / 0.592 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4697, allocations: 0 / 0.592 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.4711, allocations: 0.9983 MB / 0.593 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.4711, allocations: 4 kB / 0.593 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007402/0.4718, allocations: 136 kB / 0.5931 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0058/0.4776, allocations: 0.647 MB / 0.5937 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.777e-05/0.4777, allocations: 31.97 kB / 0.5938 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008638/0.4863, allocations: 5.646 MB / 0.5993 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.4863, allocations: 4 kB / 0.5993 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005787/0.4921, allocations: 1.509 MB / 0.6008 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.4923, allocations: 67.48 kB / 0.6008 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.4925, allocations: 19.94 kB / 0.6008 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/0.4929, allocations: 11.98 kB / 0.6009 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.4931, allocations: 64.28 kB / 0.6009 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.591e-05/0.4931, allocations: 43.98 kB / 0.601 GB, free: 4.059 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006679/0.4938, allocations: 0.4951 MB / 0.6014 GB, free: 3.566 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4938, allocations: 64 / 0.6014 GB, free: 3.566 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001139/0.4949, allocations: 291.7 kB / 0.6017 GB, free: 3.281 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.substance.amountOfBonds,liquidWater.logm) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006591/0.5015, allocations: 2.288 MB / 0.604 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002209/0.5037, allocations: 0.9246 MB / 0.6049 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5037, allocations: 0 / 0.6049 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.5052, allocations: 0.7291 MB / 0.6056 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000937/0.5062, allocations: 183.3 kB / 0.6057 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/0.5243, allocations: 8.506 MB / 0.6141 GB, free: 5.996 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006134/0.5249, allocations: 0.5023 MB / 0.6145 GB, free: 5.461 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009421/0.5259, allocations: 313.7 kB / 0.6148 GB, free: 5.152 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000716/0.5266, allocations: 475.2 kB / 0.6153 GB, free: 4.688 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5266, allocations: 0 / 0.6153 GB, free: 4.688 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06926/0.5958, allocations: 29.67 MB / 0.6443 GB, free: 7.258 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.06, allocations: 10.81 kB / 0.6443 GB, free: 7.25 MB / 494.1 MB " [Timeout remaining time 646] (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 os._exit(0), Time elapsed: 16.56556143000489] Failed to read output from testmodel.py, exit status != 0: 14.206815281999297 14.230625906 13.828890376 Calling exit ...