Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.WaterVaporization.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.001279/0.001279, allocations: 113 kB / 18.94 MB, free: 2.934 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.001404/0.001404, allocations: 209.7 kB / 22.25 MB, free: 5.086 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.341/1.341, allocations: 230.6 MB / 256 MB, free: 8.023 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.1258/0.1258, allocations: 23.9 MB / 336.3 MB, free: 11.18 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.WaterVaporization,fileNamePrefix="Chemical_master_Chemical_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_master_Chemical_Examples_WaterVaporization",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.001921/0.001921, allocations: 67.89 kB / 471.2 MB, free: 7.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2659, allocations: 59.87 MB / 0.5186 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01058/0.2765, allocations: 13.63 MB / 0.532 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2009/0.4774, allocations: 167.8 MB / 0.6958 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.4801, allocations: 59.62 kB / 0.6958 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003892/0.484, allocations: 1.192 MB / 0.697 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004331/0.4883, allocations: 1.342 MB / 0.6983 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004125/0.4924, allocations: 1.677 MB / 0.7 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005919/0.4984, allocations: 3.712 MB / 0.7036 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.4997, allocations: 0.7326 MB / 0.7043 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.5015, allocations: 1.308 MB / 0.7056 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002803/0.5043, allocations: 1.766 MB / 0.7073 GB, free: 8.316 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004846/0.5048, allocations: 324 kB / 0.7076 GB, free: 8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003718/0.5085, allocations: 1.779 MB / 0.7093 GB, free: 6.219 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000768/0.5093, allocations: 0.9147 MB / 0.7102 GB, free: 5.301 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.511, allocations: 1.861 MB / 0.7121 GB, free: 3.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00649/0.5175, allocations: 5.546 MB / 0.7175 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5175, allocations: 0 / 0.7175 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5175, allocations: 0 / 0.7175 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.739e-05/0.5175, allocations: 0 / 0.7175 GB, free: 13.86 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.006227/0.5238, allocations: 3.944 MB / 0.7213 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.5238, allocations: 8.031 kB / 0.7213 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005414/0.5243, allocations: 0.4918 MB / 0.7218 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.5256, allocations: 0.6385 MB / 0.7224 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/0.5277, allocations: 1.38 MB / 0.7238 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/0.5281, allocations: 429.2 kB / 0.7242 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004018/0.5285, allocations: 328.3 kB / 0.7245 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1906/0.7191, allocations: 10.22 MB / 0.7345 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.598e-05/0.7192, allocations: 2.531 kB / 0.7345 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.7194, allocations: 134.8 kB / 0.7346 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004339/0.7198, allocations: 469.1 kB / 0.7351 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.7376, allocations: 18.73 MB / 0.7533 GB, free: 179.9 MB / 0.5606 GB 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.02129/0.7589, allocations: 19.01 MB / 0.7719 GB, free: 166 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.7614, allocations: 2.275 MB / 0.7741 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.763, allocations: 1.612 MB / 0.7757 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/0.7748, allocations: 8.378 MB / 0.7839 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.7749, allocations: 47.88 kB / 0.7839 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 2.525e-06/0.7749, allocations: 0 / 0.7839 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=185): time 0.0831/0.858, allocations: 22.33 MB / 0.8057 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0514/0.9094, allocations: 16.6 MB / 0.8219 GB, free: 115 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002252/0.9116, allocations: 2.36 MB / 0.8242 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004833/0.9121, allocations: 57.7 kB / 0.8243 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007144/0.9128, allocations: 1.804 MB / 0.8261 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004979/0.9133, allocations: 0.6585 MB / 0.8267 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/0.9143, allocations: 0.6684 MB / 0.8274 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 2.818e-05/0.9143, allocations: 303.8 kB / 0.8277 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002802/0.9171, allocations: 2.382 MB / 0.83 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003138/0.9203, allocations: 3.154 MB / 0.8331 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1457/1.066, allocations: 27.94 MB / 0.8603 GB, free: 75.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/1.066, allocations: 4 kB / 0.8603 GB, free: 75.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01877/1.085, allocations: 7.912 MB / 0.8681 GB, free: 67.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/1.085, allocations: 16 kB / 0.8681 GB, free: 67.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/1.085, allocations: 30.64 kB / 0.8681 GB, free: 67.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02102/1.106, allocations: 4.392 MB / 0.8724 GB, free: 63.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003842/1.11, allocations: 0.7464 MB / 0.8731 GB, free: 62.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/1.12, allocations: 10 MB / 0.8829 GB, free: 51.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003124/1.123, allocations: 119.9 kB / 0.883 GB, free: 51.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004481/1.124, allocations: 411.8 kB / 0.8834 GB, free: 51.41 MB / 0.5606 GB Warning: Assuming fixed start value for the following 1 variables: gasVolatility.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 4 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,otherSubstances.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(3,5), (5,13), (2,3), (1,2), (4,14), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001568/1.125, allocations: 0.914 MB / 0.8843 GB, free: 50.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005314/1.126, allocations: 262.3 kB / 0.8846 GB, free: 50.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02409/1.15, allocations: 8.057 MB / 0.8924 GB, free: 42.24 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/1.15, allocations: 20 kB / 0.8924 GB, free: 42.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/1.15, allocations: 4 kB / 0.8924 GB, free: 42.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/1.15, allocations: 15.34 kB / 0.8925 GB, free: 42.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02907/1.179, allocations: 13.47 MB / 0.9056 GB, free: 28.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/1.179, allocations: 4 kB / 0.9056 GB, free: 28.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002909/1.182, allocations: 447.6 kB / 0.906 GB, free: 28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03107/1.213, allocations: 5.121 MB / 0.911 GB, free: 22.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003667/1.213, allocations: 115.8 kB / 0.9112 GB, free: 22.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02428/1.237, allocations: 16.07 MB / 0.9269 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05031/1.288, allocations: 14.8 MB / 0.9413 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2099/1.498, allocations: 9.481 MB / 0.9506 GB, free: 187.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005615/1.498, allocations: 270 kB / 0.9508 GB, free: 187.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005278/1.499, allocations: 42.97 kB / 0.9509 GB, free: 187.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002476/1.501, allocations: 85.41 kB / 0.9509 GB, free: 187.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006337/1.502, allocations: 213.4 kB / 0.9512 GB, free: 187.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003372/1.502, allocations: 190.4 kB / 0.9513 GB, free: 187.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002293/1.505, allocations: 1.846 MB / 0.9531 GB, free: 187.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/1.505, allocations: 0 / 0.9531 GB, free: 187.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002953/1.507, allocations: 0.9951 MB / 0.9541 GB, free: 187.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 ($STATESET1.x,H2O_gaseuous.logn,otherSubstances.logn,liquidWater.substance.amountOfBonds,liquidWater.logm,gasVolatility.rear.n_flow) * 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 (131): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,13,80.0%), (1,4,100.0%), (3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(9,25), (2,3), (1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02751/1.535, allocations: 9.919 MB / 0.9638 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.545, allocations: 5.264 MB / 0.9689 GB, free: 181.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.545, allocations: 0 / 0.9689 GB, free: 181.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007023/1.552, allocations: 3.032 MB / 0.9719 GB, free: 180 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/1.555, allocations: 0.5496 MB / 0.9724 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07141/1.626, allocations: 36.9 MB / 1.008 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/1.628, allocations: 2.217 MB / 1.011 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003023/1.631, allocations: 0.9247 MB / 1.012 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002149/1.633, allocations: 1.663 MB / 1.013 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/1.633, allocations: 2.625 kB / 1.013 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1389/1.772, allocations: 110.3 MB / 1.121 GB, free: 41.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.84/21.61, allocations: 8 kB / 1.121 GB, free: 41.39 MB / 0.5762 GB " [Timeout remaining time 638] (rm -f Chemical_master_Chemical.Examples.WaterVaporization.pipe ; mkfifo Chemical_master_Chemical.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.WaterVaporization.pipe >> ../files/Chemical_master_Chemical.Examples.WaterVaporization.sim & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Examples.WaterVaporization_res.csv --start-time 0 --stop-time 400 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.16 Chemical_master_Chemical_Examples_WaterVaporization.fmu > Chemical_master_Chemical.Examples.WaterVaporization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.167764140001964] Failed to read output from testmodel.py, exit status != 0: 21.776845470005355 21.78659789 21.2669146 Calling exit ...