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.0007191/0.0007191, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007312/0.0007312, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.8281/0.8281, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.08163/0.08163, allocations: 17.45 MB / 276.6 MB, free: 11.78 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 411.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.948e-05, allocations: 2.984 kB / 411.6 MB, free: 12.45 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361: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:1361:7-1361: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.01607/0.01609, allocations: 26.31 MB / 437.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007116/0.0232, allocations: 8.181 MB / 446.1 MB, free: 6.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003231/0.02352, allocations: 35.69 kB / 446.1 MB, free: 6.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.02484, allocations: 0.778 MB / 446.9 MB, free: 5.867 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008589/0.0257, allocations: 0.7229 MB / 447.6 MB, free: 5.262 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.02681, allocations: 0.9545 MB / 448.6 MB, free: 4.508 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009523/0.02777, allocations: 1.256 MB / 449.8 MB, free: 3.371 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.02797, allocations: 157.5 kB / 450 MB, free: 3.223 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003895/0.02836, allocations: 0.6036 MB / 450.6 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004292/0.02879, allocations: 457.7 kB / 451 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.844e-05/0.02886, allocations: 84 kB / 451.1 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.03011, allocations: 1.183 MB / 452.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.03027, allocations: 286.9 kB / 452.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.03047, allocations: 339 kB / 452.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.03205, allocations: 2.368 MB / 455.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.03205, allocations: 0 / 455.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.03205, allocations: 4 kB / 455.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.03206, allocations: 3.938 kB / 455.3 MB, free: 14.29 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001247/0.0333, allocations: 1.426 MB / 456.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.03334, allocations: 8.031 kB / 456.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.03345, allocations: 160.9 kB / 456.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/0.0337, allocations: 208 kB / 457.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006239/0.03433, allocations: 0.688 MB / 457.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-05/0.03441, allocations: 126 kB / 457.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/0.03449, allocations: 96.3 kB / 458 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.03647, allocations: 3.207 MB / 461.2 MB, free: 8.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.03648, allocations: 4.172 kB / 461.2 MB, free: 8.273 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.395e-05/0.03653, allocations: 39.92 kB / 461.2 MB, free: 8.234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.379e-05/0.03661, allocations: 130.1 kB / 461.3 MB, free: 8.105 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003517/0.04013, allocations: 6.241 MB / 467.6 MB, free: 1.855 MB / 362.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.00404/0.04417, allocations: 4.831 MB / 472.4 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/0.04465, allocations: 410.5 kB / 472.8 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.04489, allocations: 256.8 kB / 473.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002148/0.04703, allocations: 2.169 MB / 475.2 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.04705, allocations: 34.84 kB / 475.3 MB, free: 10.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.443e-06/0.04705, allocations: 0 / 475.3 MB, free: 10.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.008152/0.05521, allocations: 3.773 MB / 479 MB, free: 6.172 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.05523, allocations: 55.41 kB / 479.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/0.05575, allocations: 0.7307 MB / 479.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.05579, allocations: 37.64 kB / 479.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.05606, allocations: 0.6318 MB / 480.5 MB, free: 4.684 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.05616, allocations: 174.6 kB / 480.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.05635, allocations: 222.5 kB / 480.9 MB, free: 4.285 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.05647, allocations: 386.8 kB / 481.3 MB, free: 3.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.05678, allocations: 301.8 kB / 481.6 MB, free: 3.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.05725, allocations: 0.6496 MB / 482.2 MB, free: 2.777 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008735/0.05812, allocations: 1.039 MB / 483.2 MB, free: 1.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.05813, allocations: 4 kB / 483.2 MB, free: 1.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002706/0.06083, allocations: 1.522 MB / 484.8 MB, free: 20 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.06086, allocations: 8 kB / 484.8 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.06088, allocations: 16.05 kB / 484.8 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002123/0.06301, allocations: 0.6466 MB / 485.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007528/0.06376, allocations: 363.6 kB / 485.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.06583, allocations: 2.844 MB / 488.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005094/0.06634, allocations: 48.03 kB / 488.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.06645, allocations: 132 kB / 488.8 MB, free: 11.8 MB / 394.7 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 (94): * Single equations (assignments): 91 * 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.0004243/0.06687, allocations: 349.9 kB / 489.2 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.06699, allocations: 99.42 kB / 489.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.06953, allocations: 1.421 MB / 490.7 MB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.06953, allocations: 4 kB / 490.7 MB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.06954, allocations: 4 kB / 490.7 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.06954, allocations: 3.984 kB / 490.7 MB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000901/0.07044, allocations: 1.003 MB / 491.7 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.07045, allocations: 7.984 kB / 491.7 MB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/0.07104, allocations: 252 kB / 491.9 MB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.07287, allocations: 0.5524 MB / 492.5 MB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.07291, allocations: 27.98 kB / 492.5 MB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003282/0.07619, allocations: 4.158 MB / 496.7 MB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.0762, allocations: 4 kB / 496.7 MB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.07884, allocations: 1.528 MB / 498.2 MB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.07895, allocations: 71.47 kB / 498.3 MB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/0.07901, allocations: 15.94 kB / 498.3 MB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.07927, allocations: 23.98 kB / 498.3 MB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.07937, allocations: 64.34 kB / 498.4 MB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.07942, allocations: 52.05 kB / 498.4 MB, free: 1.762 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004083/0.07983, allocations: 0.4951 MB / 498.9 MB, free: 1.273 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.07983, allocations: 3.938 kB / 498.9 MB, free: 1.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008255/0.08065, allocations: 303.7 kB / 499.2 MB, free: 0.9727 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (solution.temperature,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 (47): * Single equations (assignments): 44 * 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): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003134/0.08379, allocations: 2.335 MB / 0.4898 GB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.08507, allocations: 0.9762 MB / 0.4908 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.08507, allocations: 0 / 0.4908 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006652/0.08574, allocations: 0.637 MB / 0.4914 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.0863, allocations: 186 kB / 0.4916 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.09671, allocations: 8.76 MB / 0.5001 GB, free: 3.449 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.0971, allocations: 0.5072 MB / 0.5006 GB, free: 2.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000665/0.09776, allocations: 354.7 kB / 0.501 GB, free: 2.559 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/0.09824, allocations: 492.3 kB / 0.5014 GB, free: 2.074 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.09824, allocations: 0 / 0.5014 GB, free: 2.074 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0427/0.1409, allocations: 30 MB / 0.5307 GB, free: 4.277 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.266/8.407, allocations: 8.047 kB / 0.5307 GB, free: 4.27 MB / 442.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Examples.HeatingOfWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Chemical_master_Chemical_Examples_HeatingOfWater.fmu > Chemical_master_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.2609269246459] Failed to read output from testmodel.py, exit status != 0: 8.633025340735912 8.520811736 8.48687205 Calling exit ...