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.001421/0.001421, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001652/0.001652, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 8 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.1381/0.1381, allocations: 23.89 MB / 336.3 MB, free: 11.14 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.001951/0.001951, allocations: 67.89 kB / 471.2 MB, free: 7.641 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3282, allocations: 59.87 MB / 0.5186 GB, free: 9.57 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.03769/0.3659, allocations: 26.29 MB / 0.5443 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01652/0.3824, allocations: 8.428 MB / 0.5525 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.384, allocations: 19.88 kB / 0.5526 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00359/0.3876, allocations: 0.7459 MB / 0.5533 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.3906, allocations: 0.5773 MB / 0.5539 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.394, allocations: 0.7382 MB / 0.5546 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00285/0.3968, allocations: 1.122 MB / 0.5557 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004337/0.3973, allocations: 165 kB / 0.5558 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007121/0.398, allocations: 389.4 kB / 0.5562 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009092/0.3989, allocations: 0.5094 MB / 0.5567 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.399, allocations: 80 kB / 0.5568 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003731/0.4027, allocations: 1.48 MB / 0.5582 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.403, allocations: 247 kB / 0.5585 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005642/0.4036, allocations: 0.5234 MB / 0.559 GB, free: 100 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004602/0.4082, allocations: 2.391 MB / 0.5613 GB, free: 14.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.4082, allocations: 0 / 0.5613 GB, free: 14.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4082, allocations: 0 / 0.5613 GB, free: 14.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.957e-05/0.4082, allocations: 0.75 kB / 0.5613 GB, free: 14.33 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.002476/0.4107, allocations: 1.382 MB / 0.5627 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4107, allocations: 8.031 kB / 0.5627 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.4109, allocations: 152.8 kB / 0.5628 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004523/0.4114, allocations: 200 kB / 0.563 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007876/0.4122, allocations: 0.4936 MB / 0.5635 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.4123, allocations: 130 kB / 0.5636 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.4124, allocations: 84.36 kB / 0.5637 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/0.4159, allocations: 3.077 MB / 0.5667 GB, free: 8.777 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.4159, allocations: 3.984 kB / 0.5667 GB, free: 8.773 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.68e-05/0.416, allocations: 39.98 kB / 0.5667 GB, free: 8.734 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/0.4161, allocations: 130 kB / 0.5669 GB, free: 8.605 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006061/0.4222, allocations: 5.869 MB / 0.5726 GB, free: 2.727 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.007584/0.4298, allocations: 5.117 MB / 0.5776 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000858/0.4306, allocations: 394.7 kB / 0.578 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/0.431, allocations: 236.8 kB / 0.5782 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003895/0.4349, allocations: 2.09 MB / 0.5802 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.4349, allocations: 42.5 kB / 0.5803 GB, free: 10.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.4349, allocations: 0 / 0.5803 GB, free: 10.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.01655/0.4515, allocations: 3.88 MB / 0.5841 GB, free: 6.684 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.4515, allocations: 55.41 kB / 0.5841 GB, free: 6.617 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009294/0.4525, allocations: 0.7075 MB / 0.5848 GB, free: 5.902 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.603e-05/0.4526, allocations: 33.7 kB / 0.5848 GB, free: 5.863 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004754/0.453, allocations: 0.6279 MB / 0.5854 GB, free: 5.227 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.4532, allocations: 166.6 kB / 0.5856 GB, free: 5.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/0.4535, allocations: 222.5 kB / 0.5858 GB, free: 4.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.4537, allocations: 390.7 kB / 0.5862 GB, free: 4.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/0.4542, allocations: 289.8 kB / 0.5865 GB, free: 4.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008028/0.455, allocations: 0.6496 MB / 0.5871 GB, free: 3.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.4564, allocations: 1.007 MB / 0.5881 GB, free: 2.156 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.4564, allocations: 4 kB / 0.5881 GB, free: 2.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.005124/0.4615, allocations: 1.478 MB / 0.5895 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.4616, allocations: 8 kB / 0.5895 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.4616, allocations: 20.16 kB / 0.5896 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004717/0.4663, allocations: 0.6424 MB / 0.5902 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.4673, allocations: 263.5 kB / 0.5904 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003895/0.4712, allocations: 2.876 MB / 0.5932 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/0.4719, allocations: 36 kB / 0.5933 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/0.4721, allocations: 124 kB / 0.5934 GB, free: 12.53 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.0006597/0.4728, allocations: 349.4 kB / 0.5937 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.473, allocations: 83.42 kB / 0.5938 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005972/0.479, allocations: 1.44 MB / 0.5952 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.479, allocations: 4 kB / 0.5952 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.479, allocations: 4 kB / 0.5952 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.479, allocations: 7.969 kB / 0.5952 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.4808, allocations: 1.069 MB / 0.5963 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.4808, allocations: 7.938 kB / 0.5963 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007601/0.4815, allocations: 131.8 kB / 0.5964 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005214/0.4867, allocations: 0.655 MB / 0.597 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-05/0.4868, allocations: 27.98 kB / 0.5971 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008561/0.4954, allocations: 5.685 MB / 0.6026 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.4954, allocations: 4 kB / 0.6026 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005639/0.501, allocations: 1.505 MB / 0.6041 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.5013, allocations: 75.41 kB / 0.6042 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.5014, allocations: 19.92 kB / 0.6042 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.5018, allocations: 16 kB / 0.6042 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.502, allocations: 64.34 kB / 0.6043 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.154e-05/0.5021, allocations: 47.98 kB / 0.6043 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007739/0.5029, allocations: 0.4951 MB / 0.6048 GB, free: 320 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5029, allocations: 3.938 kB / 0.6048 GB, free: 316 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001227/0.5041, allocations: 283.7 kB / 0.6051 GB, free: 32 kB / 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.006631/0.5107, allocations: 2.296 MB / 0.6073 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002337/0.5131, allocations: 0.9207 MB / 0.6082 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5131, allocations: 0 / 0.6082 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.5147, allocations: 0.7292 MB / 0.6089 GB, free: 11.97 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.5157, allocations: 183.3 kB / 0.6091 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/0.5352, allocations: 8.492 MB / 0.6174 GB, free: 2.746 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.5363, allocations: 1.106 MB / 0.6185 GB, free: 1.613 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001018/0.5373, allocations: 305.8 kB / 0.6188 GB, free: 1.312 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008389/0.5381, allocations: 475.2 kB / 0.6192 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5381, allocations: 0 / 0.6192 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07606/0.6142, allocations: 29.64 MB / 0.6482 GB, free: 3.336 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/15.71, allocations: 14.12 kB / 0.6482 GB, free: 3.328 MB / 494.1 MB " [Timeout remaining time 644] (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: 18.45478256000206] Failed to read output from testmodel.py, exit status != 0: 15.844586433144286 15.861250792 15.449651198 Calling exit ...