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.001277/0.001277, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001432/0.001432, allocations: 213.9 kB / 22.25 MB, free: 4.855 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.805 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.1396/0.1396, allocations: 24 MB / 336.4 MB, free: 10.87 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.00202/0.00202, allocations: 71.89 kB / 471.3 MB, free: 7.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3243, allocations: 59.89 MB / 0.5187 GB, free: 9.562 MB / 382.1 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.07051/0.3949, allocations: 25.93 MB / 0.544 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.4084, allocations: 7.508 MB / 0.5514 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.4097, allocations: 19.88 kB / 0.5514 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002547/0.4122, allocations: 0.6683 MB / 0.552 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.4143, allocations: 0.5993 MB / 0.5526 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.4167, allocations: 0.796 MB / 0.5534 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00185/0.4186, allocations: 1.148 MB / 0.5545 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/0.4189, allocations: 161.6 kB / 0.5547 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005405/0.4194, allocations: 403.2 kB / 0.5551 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007905/0.4202, allocations: 496 kB / 0.5555 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.4204, allocations: 80 kB / 0.5556 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.4229, allocations: 0.9318 MB / 0.5565 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.4232, allocations: 259.6 kB / 0.5568 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004385/0.4236, allocations: 410 kB / 0.5572 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003787/0.4274, allocations: 2.289 MB / 0.5594 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4274, allocations: 4 kB / 0.5594 GB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4274, allocations: 0 / 0.5594 GB, free: 15.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.4274, allocations: 4 kB / 0.5594 GB, free: 15.9 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002592/0.43, allocations: 1.403 MB / 0.5608 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.4301, allocations: 8.734 kB / 0.5608 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001944/0.4302, allocations: 159.9 kB / 0.5609 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004986/0.4307, allocations: 200 kB / 0.5611 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008362/0.4316, allocations: 0.5015 MB / 0.5616 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.4317, allocations: 126 kB / 0.5617 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.4319, allocations: 88.38 kB / 0.5618 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003687/0.4356, allocations: 3.214 MB / 0.565 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.4356, allocations: 0 / 0.565 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.444e-05/0.4357, allocations: 35.98 kB / 0.565 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/0.4358, allocations: 138 kB / 0.5651 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006585/0.4424, allocations: 6.237 MB / 0.5712 GB, free: 3.852 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.007769/0.4502, allocations: 4.837 MB / 0.5759 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008264/0.451, allocations: 410.5 kB / 0.5763 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003896/0.4514, allocations: 252.8 kB / 0.5766 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004231/0.4556, allocations: 2.149 MB / 0.5787 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.4557, allocations: 38.78 kB / 0.5787 GB, free: 12.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 1.913e-06/0.4557, allocations: 4 kB / 0.5787 GB, free: 12.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=46): time 0.01655/0.4722, allocations: 3.941 MB / 0.5826 GB, free: 8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.4723, allocations: 55.41 kB / 0.5826 GB, free: 7.934 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.4733, allocations: 0.7268 MB / 0.5833 GB, free: 7.199 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.683e-05/0.4734, allocations: 37.7 kB / 0.5834 GB, free: 7.156 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005185/0.4739, allocations: 0.6357 MB / 0.584 GB, free: 6.512 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.4741, allocations: 174.5 kB / 0.5841 GB, free: 6.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003293/0.4744, allocations: 230.5 kB / 0.5844 GB, free: 6.109 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.4746, allocations: 386.8 kB / 0.5847 GB, free: 5.723 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.4751, allocations: 297.9 kB / 0.585 GB, free: 5.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008315/0.476, allocations: 0.6496 MB / 0.5857 GB, free: 4.613 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.4774, allocations: 1.038 MB / 0.5867 GB, free: 3.398 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.4774, allocations: 7.938 kB / 0.5867 GB, free: 3.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.005047/0.4825, allocations: 1.505 MB / 0.5881 GB, free: 1.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.4825, allocations: 15.94 kB / 0.5882 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.4825, allocations: 12 kB / 0.5882 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004401/0.4869, allocations: 0.6428 MB / 0.5888 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.4884, allocations: 363.6 kB / 0.5891 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003958/0.4924, allocations: 2.858 MB / 0.5919 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007711/0.4931, allocations: 36 kB / 0.592 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.4933, allocations: 132 kB / 0.5921 GB, free: 13.65 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 (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.0006925/0.494, allocations: 349.9 kB / 0.5924 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.4942, allocations: 87.48 kB / 0.5925 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005037/0.4993, allocations: 1.431 MB / 0.5939 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.4993, allocations: 4 kB / 0.5939 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4993, allocations: 0 / 0.5939 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4993, allocations: 0 / 0.5939 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.5009, allocations: 1.037 MB / 0.5949 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5009, allocations: 0 / 0.5949 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.5022, allocations: 248 kB / 0.5952 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004031/0.5062, allocations: 0.5525 MB / 0.5957 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.823e-05/0.5063, allocations: 27.98 kB / 0.5957 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006565/0.5129, allocations: 4.162 MB / 0.5998 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.5129, allocations: 4 kB / 0.5998 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004987/0.5179, allocations: 1.516 MB / 0.6013 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.5181, allocations: 75.45 kB / 0.6014 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.5182, allocations: 12 kB / 0.6014 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.5187, allocations: 20 kB / 0.6014 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.5188, allocations: 68.22 kB / 0.6014 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/0.5189, allocations: 56.03 kB / 0.6015 GB, free: 3.598 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007743/0.5197, allocations: 0.4912 MB / 0.602 GB, free: 3.109 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5197, allocations: 0 / 0.602 GB, free: 3.109 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001359/0.5211, allocations: 303.6 kB / 0.6023 GB, free: 2.812 MB / 446.1 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.005905/0.527, allocations: 2.315 MB / 0.6045 GB, free: 448 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002475/0.5294, allocations: 0.9715 MB / 0.6055 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.5294, allocations: 0 / 0.6055 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.5308, allocations: 0.6289 MB / 0.6061 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.5319, allocations: 192.8 kB / 0.6063 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/0.5506, allocations: 8.721 MB / 0.6148 GB, free: 5.348 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006904/0.5513, allocations: 0.5106 MB / 0.6153 GB, free: 4.805 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001111/0.5524, allocations: 329.8 kB / 0.6156 GB, free: 4.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008049/0.5532, allocations: 483.2 kB / 0.6161 GB, free: 4.008 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5532, allocations: 0 / 0.6161 GB, free: 4.008 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07325/0.6265, allocations: 29.41 MB / 0.6448 GB, free: 6.848 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/15.51, allocations: 6.875 kB / 0.6448 GB, free: 6.844 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 & 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: 18.35678975097835] Failed to read output from testmodel.py, exit status != 0: 15.642811140976846 15.659495208 15.228842602 Calling exit ...