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.0007101/0.0007101, 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.0007744/0.0007744, 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.818/0.818, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.0772/0.0772, allocations: 17.44 MB / 276.6 MB, free: 11.76 MB / 266.7 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.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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 411.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.815e-05, allocations: 2.281 kB / 411.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.004357/0.004376, allocations: 5.859 MB / 417.4 MB, free: 8.977 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009229/0.0136, allocations: 12.92 MB / 430.4 MB, free: 188 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000762/0.01437, allocations: 17.84 kB / 430.4 MB, free: 180 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006785/0.01505, allocations: 326.6 kB / 430.7 MB, free: 0 / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.01728, allocations: 1.136 MB / 431.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.0215, allocations: 2.043 MB / 433.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.02325, allocations: 1.677 MB / 435.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007927/0.02404, allocations: 0.8073 MB / 436.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00096/0.025, allocations: 1.095 MB / 437.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000668/0.02567, allocations: 0.6673 MB / 438.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.02581, allocations: 150 kB / 438.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003193/0.02901, allocations: 1.413 MB / 439.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.02926, allocations: 343.3 kB / 440 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.02968, allocations: 0.54 MB / 440.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003834/0.03352, allocations: 3.391 MB / 443.9 MB, free: 8.773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.03352, allocations: 0 / 443.9 MB, free: 8.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03352, allocations: 4 kB / 444 MB, free: 8.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.027e-05/0.03358, allocations: 0.9688 kB / 444 MB, free: 8.77 MB / 346.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.002328/0.03591, allocations: 1.785 MB / 445.7 MB, free: 7.504 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.03595, allocations: 9.312 kB / 445.7 MB, free: 7.504 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/0.03611, allocations: 183.9 kB / 445.9 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007331/0.03685, allocations: 325.5 kB / 446.2 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008158/0.03766, allocations: 0.6156 MB / 446.9 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/0.03771, allocations: 102.9 kB / 447 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.03785, allocations: 128.4 kB / 447.1 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.03937, allocations: 1.538 MB / 448.6 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.03939, allocations: 3.938 kB / 448.6 MB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.739e-05/0.03947, allocations: 52 kB / 448.7 MB, free: 4.559 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.03949, allocations: 32 kB / 448.7 MB, free: 4.527 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.04127, allocations: 1.857 MB / 450.6 MB, free: 2.664 MB / 346.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.004494/0.04576, allocations: 3.69 MB / 454.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.04719, allocations: 1.262 MB / 455.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.04767, allocations: 492.5 kB / 456 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003165/0.05084, allocations: 2.618 MB / 458.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.05086, allocations: 43.22 kB / 458.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001729/0.05104, allocations: 91.33 kB / 458.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 2.615e-06/0.05104, allocations: 0 / 458.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=100): time 0.008883/0.05992, allocations: 4.214 MB / 463 MB, free: 6.102 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.05996, allocations: 68.34 kB / 463 MB, free: 6.023 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004689/0.06043, allocations: 0.6054 MB / 463.6 MB, free: 5.406 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.06047, allocations: 41.7 kB / 463.7 MB, free: 5.359 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.06072, allocations: 0.5937 MB / 464.3 MB, free: 4.758 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.0609, allocations: 352.9 kB / 464.6 MB, free: 4.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.06111, allocations: 238.8 kB / 464.8 MB, free: 4.172 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.06124, allocations: 398.7 kB / 465.2 MB, free: 3.773 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/0.06169, allocations: 422.4 kB / 465.6 MB, free: 3.359 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008852/0.06258, allocations: 0.7826 MB / 466.4 MB, free: 2.41 MB / 362.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.01129/0.07387, allocations: 4.507 MB / 470.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.07387, allocations: 4 kB / 470.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002891/0.07676, allocations: 1.783 MB / 472.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.07679, allocations: 15.94 kB / 472.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.0768, allocations: 15.94 kB / 472.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.07838, allocations: 481.5 kB / 473.2 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007175/0.0791, allocations: 287.6 kB / 473.5 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00405/0.08315, allocations: 4.15 MB / 477.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.08368, allocations: 40 kB / 477.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.446e-05/0.08378, allocations: 71.97 kB / 477.8 MB, free: 6.672 MB / 378.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.0004538/0.08423, allocations: 277.4 kB / 478 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.08437, allocations: 95.44 kB / 478.1 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/0.08754, allocations: 1.755 MB / 479.9 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.08755, allocations: 8 kB / 479.9 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.08755, allocations: 4 kB / 479.9 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.08756, allocations: 3.984 kB / 479.9 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004429/0.09199, allocations: 2.761 MB / 482.7 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.092, allocations: 0 / 482.7 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.09236, allocations: 195.8 kB / 482.9 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001968/0.09433, allocations: 0.5412 MB / 483.4 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-05/0.09439, allocations: 43.97 kB / 483.4 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004623/0.09901, allocations: 5.297 MB / 488.7 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.09901, allocations: 4 kB / 488.7 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/0.1027, allocations: 2.32 MB / 491.1 MB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.1029, allocations: 95.31 kB / 491.2 MB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.428e-05/0.103, allocations: 31.98 kB / 491.2 MB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.1032, allocations: 24 kB / 491.2 MB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.1034, allocations: 108.7 kB / 491.3 MB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.089e-05/0.1035, allocations: 47.98 kB / 491.4 MB, free: 8.543 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003261/0.1038, allocations: 387.1 kB / 491.7 MB, free: 8.172 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1038, allocations: 3.938 kB / 491.7 MB, free: 8.168 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001288/0.1051, allocations: 0.5963 MB / 492.3 MB, free: 7.57 MB / 394.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.005145/0.1102, allocations: 3.435 MB / 495.8 MB, free: 4.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.1119, allocations: 1.387 MB / 497.2 MB, free: 2.656 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1119, allocations: 0 / 497.2 MB, free: 2.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008298/0.1127, allocations: 0.9665 MB / 498.1 MB, free: 1.652 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007545/0.1135, allocations: 203.3 kB / 498.3 MB, free: 1.453 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.1253, allocations: 9.507 MB / 0.4959 GB, free: 7.422 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.1257, allocations: 490.3 kB / 0.4964 GB, free: 6.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005498/0.1262, allocations: 237.1 kB / 0.4966 GB, free: 6.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007288/0.127, allocations: 0.5042 MB / 0.4971 GB, free: 6.176 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.127, allocations: 0 / 0.4971 GB, free: 6.176 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0447/0.1717, allocations: 34.13 MB / 0.5304 GB, free: 4.371 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.313, allocations: 3.984 kB / 0.5305 GB, free: 4.367 MB / 442.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_WaterVaporization_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-08 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: 10.057542850263417] Failed to read output from testmodel.py, exit status != 0: 8.546536145731807 8.426385046 8.39111494 Calling exit ...