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.001579/0.001579, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001656/0.001656, allocations: 218 kB / 22.26 MB, free: 5.121 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.992 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.1305/0.1305, allocations: 23.89 MB / 336.3 MB, free: 11.16 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.001969/0.001969, allocations: 59.91 kB / 471.2 MB, free: 7.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.291, allocations: 59.89 MB / 0.5186 GB, free: 9.602 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.03453/0.3256, allocations: 26.29 MB / 0.5443 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.3373, allocations: 8.424 MB / 0.5525 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007181/0.338, allocations: 23.88 kB / 0.5526 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.3401, allocations: 0.7404 MB / 0.5533 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.3414, allocations: 0.5826 MB / 0.5539 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.3429, allocations: 0.734 MB / 0.5546 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.3442, allocations: 1.138 MB / 0.5557 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/0.3445, allocations: 160.6 kB / 0.5558 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003983/0.3449, allocations: 385.8 kB / 0.5562 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007539/0.3457, allocations: 0.5213 MB / 0.5567 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.3458, allocations: 76 kB / 0.5568 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.3485, allocations: 1.472 MB / 0.5582 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.3488, allocations: 258.7 kB / 0.5585 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.3492, allocations: 0.5201 MB / 0.559 GB, free: 64 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.3522, allocations: 2.387 MB / 0.5613 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3522, allocations: 0 / 0.5613 GB, free: 14.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3522, allocations: 0 / 0.5613 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.3522, allocations: 0 / 0.5613 GB, free: 14.3 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.002169/0.3543, allocations: 1.37 MB / 0.5626 GB, free: 12.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3544, allocations: 8.031 kB / 0.5627 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000175/0.3546, allocations: 160.7 kB / 0.5628 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004184/0.355, allocations: 204 kB / 0.563 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007435/0.3557, allocations: 497.5 kB / 0.5635 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.3559, allocations: 129.9 kB / 0.5636 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.356, allocations: 88.36 kB / 0.5637 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003349/0.3593, allocations: 3.089 MB / 0.5667 GB, free: 8.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.3593, allocations: 0 / 0.5667 GB, free: 8.746 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.708e-05/0.3594, allocations: 32 kB / 0.5667 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001509/0.3596, allocations: 130 kB / 0.5669 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006006/0.3656, allocations: 5.877 MB / 0.5726 GB, free: 2.699 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.007186/0.3728, allocations: 5.106 MB / 0.5776 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008016/0.3736, allocations: 409.8 kB / 0.578 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.3739, allocations: 240.8 kB / 0.5782 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003665/0.3776, allocations: 2.09 MB / 0.5802 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3776, allocations: 30.56 kB / 0.5803 GB, free: 10.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.684e-06/0.3776, allocations: 0 / 0.5803 GB, free: 10.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.01658/0.3942, allocations: 3.884 MB / 0.5841 GB, free: 6.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.3942, allocations: 63.33 kB / 0.5841 GB, free: 6.586 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008495/0.3951, allocations: 0.6958 MB / 0.5848 GB, free: 5.883 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.3951, allocations: 33.7 kB / 0.5848 GB, free: 5.844 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/0.3956, allocations: 0.6357 MB / 0.5855 GB, free: 5.199 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.3957, allocations: 170.6 kB / 0.5856 GB, free: 5.031 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/0.396, allocations: 218.5 kB / 0.5858 GB, free: 4.812 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.3962, allocations: 390.7 kB / 0.5862 GB, free: 4.422 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.3967, allocations: 285.9 kB / 0.5865 GB, free: 4.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007531/0.3975, allocations: 0.6418 MB / 0.5871 GB, free: 3.324 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.3988, allocations: 1.011 MB / 0.5881 GB, free: 2.137 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.3988, allocations: 4 kB / 0.5881 GB, free: 2.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00518/0.404, allocations: 1.481 MB / 0.5895 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.404, allocations: 12 kB / 0.5895 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.404, allocations: 12 kB / 0.5896 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004731/0.4087, allocations: 0.647 MB / 0.5902 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009778/0.4097, allocations: 263.6 kB / 0.5904 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003667/0.4134, allocations: 2.859 MB / 0.5932 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/0.4139, allocations: 32.06 kB / 0.5933 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.4141, allocations: 136 kB / 0.5934 GB, free: 12.51 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.0005565/0.4147, allocations: 349.3 kB / 0.5937 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.4148, allocations: 75.48 kB / 0.5938 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005696/0.4205, allocations: 1.44 MB / 0.5952 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.4205, allocations: 8 kB / 0.5952 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.4205, allocations: 0 / 0.5952 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.4205, allocations: 3.984 kB / 0.5952 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.4219, allocations: 1.08 MB / 0.5963 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.422, allocations: 4 kB / 0.5963 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007039/0.4227, allocations: 139.8 kB / 0.5964 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005295/0.428, allocations: 0.651 MB / 0.597 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.94e-05/0.428, allocations: 27.98 kB / 0.5971 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008062/0.4361, allocations: 5.697 MB / 0.6026 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.4361, allocations: 4.047 kB / 0.6026 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005376/0.4415, allocations: 1.505 MB / 0.6041 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.4416, allocations: 75.36 kB / 0.6042 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.4417, allocations: 19.94 kB / 0.6042 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.4421, allocations: 12 kB / 0.6042 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.4422, allocations: 64.39 kB / 0.6043 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/0.4423, allocations: 43.98 kB / 0.6043 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006371/0.4429, allocations: 499 kB / 0.6048 GB, free: 300 kB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4429, allocations: 0 / 0.6048 GB, free: 300 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001118/0.444, allocations: 295.7 kB / 0.6051 GB, free: 4 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.006158/0.4502, allocations: 2.288 MB / 0.6073 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002305/0.4525, allocations: 0.9207 MB / 0.6082 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4525, allocations: 0 / 0.6082 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.454, allocations: 0.7292 MB / 0.6089 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009342/0.4549, allocations: 181 kB / 0.6091 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/0.4728, allocations: 8.504 MB / 0.6174 GB, free: 2.723 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007832/0.4736, allocations: 1.098 MB / 0.6185 GB, free: 1.598 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008929/0.4745, allocations: 305.7 kB / 0.6188 GB, free: 1.297 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007123/0.4752, allocations: 483.2 kB / 0.6192 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4752, allocations: 7.938 kB / 0.6192 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06831/0.5435, allocations: 29.63 MB / 0.6482 GB, free: 3.316 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/14.69, allocations: 2.922 kB / 0.6482 GB, free: 3.316 MB / 494.1 MB " [Timeout remaining time 645] (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 sys.exit(0), Time elapsed: 17.315345389994036] Failed to read output from testmodel.py, exit status != 0: 14.818856803001836 14.832733232 14.477637542 Calling exit ...