Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0007404/0.0007404, 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.0007513/0.0007513, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8908/0.8908, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.09287/0.09287, allocations: 17.37 MB / 276.6 MB, free: 11.85 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Obsolete_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.462e-06, allocations: 0 / 411.4 MB, free: 432 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/3.083e-05, allocations: 3.828 kB / 411.4 MB, free: 428 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.005663/0.005694, allocations: 5.848 MB / 417.3 MB, free: 10.53 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.01669, allocations: 12.91 MB / 430.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008097/0.0175, allocations: 15.88 kB / 430.2 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009043/0.0184, allocations: 329.2 kB / 430.5 MB, free: 13.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.02147, allocations: 1.14 MB / 431.7 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00471/0.02618, allocations: 2.054 MB / 433.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001746/0.02793, allocations: 1.664 MB / 435.4 MB, free: 8.348 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007604/0.02869, allocations: 0.7991 MB / 436.2 MB, free: 7.516 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007015/0.02939, allocations: 1.096 MB / 437.3 MB, free: 6.418 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005401/0.02993, allocations: 0.6586 MB / 438 MB, free: 5.758 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.03005, allocations: 155.9 kB / 438.1 MB, free: 5.605 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.03227, allocations: 1.415 MB / 439.5 MB, free: 4.188 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.03245, allocations: 342.9 kB / 439.9 MB, free: 3.852 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.03277, allocations: 0.5457 MB / 440.4 MB, free: 3.305 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1907/0.2234, allocations: 3.385 MB / 443.8 MB, free: 52.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2235, allocations: 0 / 443.8 MB, free: 52.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2235, allocations: 0 / 443.8 MB, free: 52.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.247e-05/0.2235, allocations: 3.156 kB / 443.8 MB, free: 52.21 MB / 410.7 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.00286/0.2264, allocations: 1.779 MB / 445.6 MB, free: 51.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2264, allocations: 13.38 kB / 445.6 MB, free: 51.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.2266, allocations: 187.6 kB / 445.8 MB, free: 51.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006828/0.2272, allocations: 317.1 kB / 446.1 MB, free: 51.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007272/0.228, allocations: 0.6163 MB / 446.7 MB, free: 51.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.228, allocations: 102 kB / 446.8 MB, free: 51.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.2281, allocations: 132.8 kB / 446.9 MB, free: 51.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.2295, allocations: 1.537 MB / 448.5 MB, free: 50.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.2295, allocations: 0 / 448.5 MB, free: 50.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.787e-05/0.2296, allocations: 57.19 kB / 448.5 MB, free: 50.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.2296, allocations: 32.06 kB / 448.5 MB, free: 50.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.2312, allocations: 1.859 MB / 450.4 MB, free: 50.92 MB / 410.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.00378/0.235, allocations: 3.688 MB / 454.1 MB, free: 50.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.236, allocations: 1.257 MB / 455.3 MB, free: 49.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.2365, allocations: 491.4 kB / 455.8 MB, free: 49.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002827/0.2393, allocations: 2.626 MB / 458.5 MB, free: 48.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.2393, allocations: 48.81 kB / 458.5 MB, free: 48.32 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001571/0.2395, allocations: 92.45 kB / 458.6 MB, free: 48.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.395e-06/0.2395, allocations: 0.9062 kB / 458.6 MB, free: 48.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=100): time 0.008578/0.248, allocations: 4.217 MB / 462.8 MB, free: 46.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.2481, allocations: 65.97 kB / 462.9 MB, free: 46.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/0.2485, allocations: 0.6002 MB / 463.5 MB, free: 46.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.2485, allocations: 47.64 kB / 463.5 MB, free: 46.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.2487, allocations: 0.5881 MB / 464.1 MB, free: 45.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.2488, allocations: 358.6 kB / 464.5 MB, free: 45.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.249, allocations: 233.8 kB / 464.7 MB, free: 45.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.049e-05/0.2491, allocations: 397.2 kB / 465.1 MB, free: 45.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.2495, allocations: 429.8 kB / 465.5 MB, free: 45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/0.2501, allocations: 0.7874 MB / 466.3 MB, free: 44.38 MB / 410.7 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.01083/0.2609, allocations: 4.491 MB / 470.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.2609, allocations: 6.219 kB / 470.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002688/0.2636, allocations: 1.785 MB / 472.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.2636, allocations: 8.906 kB / 472.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.2636, allocations: 18.38 kB / 472.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/0.2652, allocations: 482.3 kB / 473.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.2656, allocations: 300.5 kB / 473.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003695/0.2693, allocations: 4.134 MB / 477.5 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00044/0.2698, allocations: 44.55 kB / 477.5 MB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.652e-05/0.2699, allocations: 68.31 kB / 477.6 MB, free: 38.97 MB / 410.7 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.0003984/0.2703, allocations: 280.9 kB / 477.9 MB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.2704, allocations: 90.98 kB / 478 MB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003261/0.2736, allocations: 1.762 MB / 479.7 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.2736, allocations: 10 kB / 479.7 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2736, allocations: 2.812 kB / 479.7 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.2737, allocations: 6.75 kB / 479.7 MB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/0.278, allocations: 2.745 MB / 482.5 MB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.278, allocations: 10.86 kB / 482.5 MB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.2784, allocations: 196 kB / 482.7 MB, free: 36.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/0.2804, allocations: 0.5385 MB / 483.2 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.763e-05/0.2804, allocations: 36.48 kB / 483.3 MB, free: 36.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004035/0.2845, allocations: 5.305 MB / 488.6 MB, free: 32.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.2845, allocations: 7.219 kB / 488.6 MB, free: 32.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/0.2883, allocations: 2.327 MB / 490.9 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.2884, allocations: 89.22 kB / 491 MB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/0.2885, allocations: 32.73 kB / 491 MB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.2887, allocations: 31.84 kB / 491.1 MB, free: 31.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.2888, allocations: 104.7 kB / 491.2 MB, free: 31.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.918e-05/0.2889, allocations: 48.28 kB / 491.2 MB, free: 31.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003271/0.2892, allocations: 389.8 kB / 491.6 MB, free: 30.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2892, allocations: 1.219 kB / 491.6 MB, free: 30.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001593/0.2908, allocations: 0.594 MB / 492.2 MB, free: 30.8 MB / 410.7 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.004872/0.2957, allocations: 3.427 MB / 495.6 MB, free: 29.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.2974, allocations: 1.386 MB / 497 MB, free: 28.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2974, allocations: 1.125 kB / 497 MB, free: 28.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007836/0.2981, allocations: 0.9563 MB / 497.9 MB, free: 27.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.2988, allocations: 214.5 kB / 498.2 MB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.3097, allocations: 9.52 MB / 0.4958 GB, free: 22.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005856/0.3103, allocations: 489 kB / 0.4962 GB, free: 22.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005915/0.3109, allocations: 233.3 kB / 0.4965 GB, free: 22.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000471/0.3113, allocations: 0.505 MB / 0.497 GB, free: 22.08 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3113, allocations: 0 / 0.497 GB, free: 22.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04584/0.3572, allocations: 34.12 MB / 0.5303 GB, free: 8.242 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.91/9.267, allocations: 10.89 kB / 0.5303 GB, free: 8.238 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterVaporization.sim & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_WaterVaporization.fmu > Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.244798585772514] Failed to read output from testmodel.py, exit status != 0: 9.377051409333944 9.38497062 9.159825203 Calling exit ...