Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.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.001873/0.001873, allocations: 104 kB / 16.45 MB, free: 6.453 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.002186/0.002186, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.627/1.627, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.164/0.164, allocations: 23.88 MB / 332.7 MB, free: 12.34 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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.Obsolete.Examples.WaterVaporization,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterVaporization,fileNamePrefix="Chemical_master_Chemical_Obsolete_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.002188/0.002188, allocations: 63.89 kB / 466 MB, free: 10.06 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4178, allocations: 59.83 MB / 0.5135 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.008256/0.426, allocations: 6.616 MB / 0.52 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01868/0.4447, allocations: 14.67 MB / 0.5343 GB, free: 9.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.4461, allocations: 17.56 kB / 0.5343 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.4474, allocations: 347.8 kB / 0.5347 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004346/0.4517, allocations: 1.108 MB / 0.5357 GB, free: 8.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006687/0.4584, allocations: 1.979 MB / 0.5377 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003094/0.4615, allocations: 1.606 MB / 0.5392 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.4629, allocations: 0.8158 MB / 0.54 GB, free: 6.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.4643, allocations: 0.7782 MB / 0.5408 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.466, allocations: 0.8389 MB / 0.5416 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003468/0.4663, allocations: 150 kB / 0.5418 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007212/0.4735, allocations: 1.482 MB / 0.5432 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006643/0.4742, allocations: 351.5 kB / 0.5435 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.4756, allocations: 0.7454 MB / 0.5443 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009418/0.485, allocations: 3.224 MB / 0.5474 GB, free: 3.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.485, allocations: 1.25 kB / 0.5474 GB, free: 3.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4851, allocations: 0 / 0.5474 GB, free: 3.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.497e-05/0.4851, allocations: 0 / 0.5474 GB, free: 3.09 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.004249/0.4893, allocations: 1.888 MB / 0.5493 GB, free: 1.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4894, allocations: 13.72 kB / 0.5493 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002432/0.4896, allocations: 184.3 kB / 0.5495 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.4911, allocations: 321.9 kB / 0.5498 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.4925, allocations: 0.6836 MB / 0.5504 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.81e-05/0.4926, allocations: 99.03 kB / 0.5505 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.4928, allocations: 132.4 kB / 0.5507 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.4956, allocations: 1.535 MB / 0.5521 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.4957, allocations: 0 / 0.5521 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.4958, allocations: 50.72 kB / 0.5522 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.4958, allocations: 30.75 kB / 0.5522 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003252/0.4991, allocations: 1.862 MB / 0.554 GB, free: 14.95 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.008539/0.5076, allocations: 4.65 MB / 0.5586 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.5098, allocations: 1.256 MB / 0.5598 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008511/0.5107, allocations: 489.2 kB / 0.5603 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007234/0.5179, allocations: 4.618 MB / 0.5648 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/0.518, allocations: 39.2 kB / 0.5648 GB, free: 5.707 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000476/0.5184, allocations: 95.34 kB / 0.5649 GB, free: 5.613 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.896e-06/0.5184, allocations: 0 / 0.5649 GB, free: 5.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.02021/0.5386, allocations: 4.332 MB / 0.5691 GB, free: 1.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/0.5387, allocations: 60.41 kB / 0.5692 GB, free: 1.137 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.5399, allocations: 0.5822 MB / 0.5698 GB, free: 0.543 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002081/0.5401, allocations: 45.7 kB / 0.5698 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006607/0.5407, allocations: 0.6016 MB / 0.5704 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006331/0.5414, allocations: 360.9 kB / 0.5707 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005506/0.5419, allocations: 238.8 kB / 0.571 GB, free: 15.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000288/0.5422, allocations: 390.8 kB / 0.5713 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009153/0.5431, allocations: 418.4 kB / 0.5717 GB, free: 14.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.5445, allocations: 0.7784 MB / 0.5725 GB, free: 13.54 MB / 430.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: gas.temperature = gas.temperature_start (liquid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02676/0.5712, allocations: 4.537 MB / 0.5769 GB, free: 8.824 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.5712, allocations: 4 kB / 0.5769 GB, free: 8.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006519/0.5778, allocations: 1.775 MB / 0.5787 GB, free: 7.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.5778, allocations: 8.219 kB / 0.5787 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.5778, allocations: 19.98 kB / 0.5787 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003744/0.5816, allocations: 477.2 kB / 0.5792 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.5826, allocations: 291.5 kB / 0.5794 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00816/0.5908, allocations: 4.401 MB / 0.5837 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.5919, allocations: 40 kB / 0.5838 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002708/0.5922, allocations: 67.97 kB / 0.5838 GB, free: 1.453 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: gas.temperature = gas.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000766/0.593, allocations: 285.4 kB / 0.5841 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/0.5933, allocations: 87.44 kB / 0.5842 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007136/0.6004, allocations: 1.75 MB / 0.5859 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.6005, allocations: 11.94 kB / 0.5859 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.6005, allocations: 7.938 kB / 0.5859 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.6005, allocations: 3.984 kB / 0.5859 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009293/0.6098, allocations: 2.933 MB / 0.5888 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.6098, allocations: 4 kB / 0.5888 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007729/0.6106, allocations: 196.1 kB / 0.589 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00468/0.6153, allocations: 0.5409 MB / 0.5895 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.6154, allocations: 35.98 kB / 0.5895 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009128/0.6245, allocations: 5.692 MB / 0.5951 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.6245, allocations: 0 / 0.5951 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00789/0.6324, allocations: 2.316 MB / 0.5974 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/0.6329, allocations: 164.5 kB / 0.5975 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002372/0.6331, allocations: 24 kB / 0.5975 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/0.6338, allocations: 27.98 kB / 0.5976 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002938/0.6341, allocations: 104.8 kB / 0.5977 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.6342, allocations: 43.98 kB / 0.5977 GB, free: 2.605 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005989/0.6348, allocations: 391.1 kB / 0.5981 GB, free: 2.227 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6348, allocations: 0 / 0.5981 GB, free: 2.227 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002427/0.6372, allocations: 0.5963 MB / 0.5987 GB, free: 1.629 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.logn,liquidWater.amountOfBonds,liquidWater.logn) * 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 (100): * Single equations (assignments): 97 * 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 {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01007/0.6473, allocations: 3.392 MB / 0.602 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003085/0.6504, allocations: 1.387 MB / 0.6033 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.6504, allocations: 0 / 0.6033 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.6521, allocations: 0.9549 MB / 0.6043 GB, free: 11.76 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.6537, allocations: 215.2 kB / 0.6045 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02461/0.6783, allocations: 9.547 MB / 0.6138 GB, free: 1.484 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.6795, allocations: 1.073 MB / 0.6148 GB, free: 396 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001031/0.6806, allocations: 234.5 kB / 0.6151 GB, free: 164 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009483/0.6815, allocations: 0.4954 MB / 0.6155 GB, free: 15.66 MB / 478.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6815, allocations: 0 / 0.6155 GB, free: 15.66 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/0.7833, allocations: 32.27 MB / 0.6471 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.25/17.04, allocations: 0 / 0.6471 GB, free: 15.66 MB / 0.4981 GB " [Timeout remaining time 643] (rm -f Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.sim & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.WaterVaporization_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.04 Chemical_master_Chemical_Obsolete_Examples_WaterVaporization.fmu > Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.32158860308118] Failed to read output from testmodel.py, exit status != 0: 17.153570091119036 17.178763977 16.688811371 Calling exit ...