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.0008177/0.0008177, 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.000794/0.000794, allocations: 170.3 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.9162/0.9162, allocations: 177.1 MB / 202.8 MB, free: 5.766 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.09149/0.09149, allocations: 17.37 MB / 276.6 MB, free: 11.87 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 2.044e-06/2.044e-06, allocations: 0 / 411.4 MB, free: 428 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.877e-05, allocations: 2.281 kB / 411.4 MB, free: 424 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.005163/0.005182, allocations: 5.846 MB / 417.3 MB, free: 10.53 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.01581, allocations: 12.92 MB / 430.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000711/0.01652, allocations: 15.88 kB / 430.2 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007236/0.01724, allocations: 317.3 kB / 430.5 MB, free: 13.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.01964, allocations: 1.144 MB / 431.7 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005063/0.0247, allocations: 2.05 MB / 433.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001938/0.02664, allocations: 1.668 MB / 435.4 MB, free: 8.348 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.02783, allocations: 0.7991 MB / 436.2 MB, free: 7.516 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.02884, allocations: 1.096 MB / 437.3 MB, free: 6.418 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006237/0.02947, allocations: 0.6547 MB / 438 MB, free: 5.762 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.0296, allocations: 148 kB / 438.1 MB, free: 5.617 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002569/0.03217, allocations: 1.423 MB / 439.5 MB, free: 4.191 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.03237, allocations: 346.8 kB / 439.9 MB, free: 3.852 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.03276, allocations: 0.5418 MB / 440.4 MB, free: 3.309 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2407/0.2734, allocations: 3.383 MB / 443.8 MB, free: 52.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2734, allocations: 0 / 443.8 MB, free: 52.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2734, allocations: 0 / 443.8 MB, free: 52.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.915e-05/0.2735, allocations: 2.844 kB / 443.8 MB, free: 52.34 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.003208/0.2767, allocations: 1.782 MB / 445.6 MB, free: 51.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.2768, allocations: 9.5 kB / 445.6 MB, free: 51.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001864/0.277, allocations: 190.9 kB / 445.8 MB, free: 51.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.278, allocations: 316.9 kB / 446.1 MB, free: 51.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.279, allocations: 0.6214 MB / 446.7 MB, free: 51.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.355e-05/0.2791, allocations: 97.44 kB / 446.8 MB, free: 51.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.2792, allocations: 134.7 kB / 446.9 MB, free: 51.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.2812, allocations: 1.538 MB / 448.5 MB, free: 51.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.2812, allocations: 2 kB / 448.5 MB, free: 51.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.811e-05/0.2813, allocations: 56.88 kB / 448.5 MB, free: 51.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.2813, allocations: 29.19 kB / 448.5 MB, free: 51.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.283, allocations: 1.861 MB / 450.4 MB, free: 51.04 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.003869/0.2868, allocations: 3.692 MB / 454.1 MB, free: 50.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.2879, allocations: 1.251 MB / 455.3 MB, free: 49.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004087/0.2883, allocations: 492.1 kB / 455.8 MB, free: 49.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002793/0.2911, allocations: 2.628 MB / 458.5 MB, free: 48.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.2912, allocations: 46.62 kB / 458.5 MB, free: 48.41 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000149/0.2913, allocations: 92.67 kB / 458.6 MB, free: 48.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.144e-06/0.2913, allocations: 1.344 kB / 458.6 MB, free: 48.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=100): time 0.008306/0.2996, allocations: 4.213 MB / 462.8 MB, free: 46.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.2996, allocations: 65.97 kB / 462.9 MB, free: 46.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.3, allocations: 0.607 MB / 463.5 MB, free: 46.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.3001, allocations: 48.06 kB / 463.5 MB, free: 46.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.3002, allocations: 0.5848 MB / 464.1 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.3004, allocations: 360.3 kB / 464.5 MB, free: 45.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.3006, allocations: 234.5 kB / 464.7 MB, free: 45.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.3007, allocations: 397.5 kB / 465.1 MB, free: 45.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.3011, allocations: 430.5 kB / 465.5 MB, free: 45.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.3016, allocations: 0.7786 MB / 466.3 MB, free: 44.48 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.01071/0.3123, allocations: 4.502 MB / 470.8 MB, free: 43.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3123, allocations: 2.969 kB / 470.8 MB, free: 43.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002656/0.315, allocations: 1.784 MB / 472.6 MB, free: 42.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.315, allocations: 12.03 kB / 472.6 MB, free: 42.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.315, allocations: 15.25 kB / 472.6 MB, free: 42.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.3165, allocations: 479.3 kB / 473.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.317, allocations: 288 kB / 473.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/0.3205, allocations: 4.149 MB / 477.5 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.3209, allocations: 40.09 kB / 477.5 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-05/0.321, allocations: 71.31 kB / 477.6 MB, free: 39.06 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.0003438/0.3213, allocations: 278.4 kB / 477.9 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.685e-05/0.3214, allocations: 92.14 kB / 478 MB, free: 38.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/0.3245, allocations: 1.758 MB / 479.7 MB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3245, allocations: 11 kB / 479.7 MB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3245, allocations: 2.5 kB / 479.7 MB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3245, allocations: 9.625 kB / 479.7 MB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00402/0.3285, allocations: 2.749 MB / 482.5 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.3285, allocations: 6 kB / 482.5 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004004/0.3289, allocations: 199 kB / 482.7 MB, free: 36.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/0.3309, allocations: 0.5417 MB / 483.2 MB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/0.3309, allocations: 36.05 kB / 483.3 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004414/0.3354, allocations: 5.302 MB / 488.6 MB, free: 32.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.3354, allocations: 10.44 kB / 488.6 MB, free: 32.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003909/0.3393, allocations: 2.32 MB / 490.9 MB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.3394, allocations: 88.47 kB / 491 MB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.3395, allocations: 26.47 kB / 491 MB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.3397, allocations: 35.42 kB / 491 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.3399, allocations: 105.9 kB / 491.2 MB, free: 31.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.34, allocations: 44.45 kB / 491.2 MB, free: 31.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003664/0.3403, allocations: 389.9 kB / 491.6 MB, free: 31.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3403, allocations: 0 / 491.6 MB, free: 31.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001346/0.3417, allocations: 0.595 MB / 492.2 MB, free: 30.89 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.004557/0.3462, allocations: 3.434 MB / 495.6 MB, free: 29.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.3479, allocations: 1.391 MB / 497 MB, free: 28.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3479, allocations: 4.875 kB / 497 MB, free: 28.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008651/0.3488, allocations: 0.9472 MB / 497.9 MB, free: 28.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006745/0.3494, allocations: 216.6 kB / 498.2 MB, free: 27.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.3602, allocations: 9.518 MB / 0.4958 GB, free: 22.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.3607, allocations: 486.8 kB / 0.4962 GB, free: 22.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005337/0.3613, allocations: 231.8 kB / 0.4965 GB, free: 22.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/0.3617, allocations: 0.5081 MB / 0.497 GB, free: 22.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3617, allocations: 4 kB / 0.497 GB, free: 22.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04148/0.4032, allocations: 34.11 MB / 0.5303 GB, free: 8.309 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.682/9.085, allocations: 11.5 kB / 0.5303 GB, free: 8.301 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_WaterVaporization_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-08 Chemical_Chemical_Obsolete_Examples_WaterVaporization.fmu > Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.957656401209533] Failed to read output from testmodel.py, exit status != 0: 9.199123822152615 9.208517984 8.933298419 Calling exit ...