Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.WaterVaporization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005932/0.005932, allocations: 103.7 kB / 15.74 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 194.8 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08601/0.08601, allocations: 15.3 MB / 305.8 MB, free: 15.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.12 kB / 424.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09434/0.09561, allocations: 53.61 MB / 478.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.007304/0.103, allocations: 6.531 MB / 484.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01477/0.1178, allocations: 14.57 MB / 499.4 MB, free: 1.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007781/0.1186, allocations: 11.94 kB / 499.4 MB, free: 1.082 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008883/0.1195, allocations: 356.1 kB / 499.7 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002703/0.1222, allocations: 1.11 MB / 0.4891 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004763/0.127, allocations: 1.965 MB / 0.491 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002389/0.1294, allocations: 1.603 MB / 0.4926 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.1306, allocations: 0.9819 MB / 0.4936 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007607/0.1314, allocations: 0.7597 MB / 0.4943 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009556/0.1324, allocations: 0.8329 MB / 0.4951 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.1326, allocations: 152 kB / 0.4953 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004347/0.1369, allocations: 1.463 MB / 0.4967 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.1373, allocations: 338.9 kB / 0.497 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007137/0.138, allocations: 0.7506 MB / 0.4977 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007313/0.1453, allocations: 3.11 MB / 0.5008 GB, free: 3.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.1454, allocations: 0 / 0.5008 GB, free: 3.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1454, allocations: 0 / 0.5008 GB, free: 3.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.823e-05/0.1454, allocations: 0 / 0.5008 GB, free: 3.598 MB / 382.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.003613/0.149, allocations: 1.841 MB / 0.5026 GB, free: 1.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1491, allocations: 8.031 kB / 0.5026 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.1493, allocations: 190.3 kB / 0.5028 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.1506, allocations: 307 kB / 0.5031 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.1516, allocations: 0.6763 MB / 0.5037 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.658e-05/0.1517, allocations: 98.94 kB / 0.5038 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.1519, allocations: 136 kB / 0.5039 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.212/0.3639, allocations: 1.524 MB / 0.5054 GB, free: 33.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.364, allocations: 4.938 kB / 0.5054 GB, free: 33.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.3641, allocations: 48.56 kB / 0.5055 GB, free: 33.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-05/0.3642, allocations: 31.78 kB / 0.5055 GB, free: 33.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003166/0.3673, allocations: 1.855 MB / 0.5073 GB, free: 33.69 MB / 382.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.007086/0.3744, allocations: 4.621 MB / 0.5118 GB, free: 31.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.3764, allocations: 1.34 MB / 0.5132 GB, free: 30.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008379/0.3773, allocations: 0.5305 MB / 0.5137 GB, free: 30.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00642/0.3837, allocations: 4.585 MB / 0.5181 GB, free: 26.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3838, allocations: 45.23 kB / 0.5182 GB, free: 26.86 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003797/0.3842, allocations: 79.94 kB / 0.5183 GB, free: 26.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 3.026e-06/0.3842, allocations: 0 / 0.5183 GB, free: 26.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01999/0.4042, allocations: 4.336 MB / 0.5225 GB, free: 25.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.4043, allocations: 61.22 kB / 0.5226 GB, free: 25.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.4054, allocations: 0.5832 MB / 0.5231 GB, free: 24.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.4055, allocations: 42.05 kB / 0.5232 GB, free: 24.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/0.406, allocations: 0.575 MB / 0.5237 GB, free: 24.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.4063, allocations: 351.1 kB / 0.5241 GB, free: 24.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003923/0.4067, allocations: 235.4 kB / 0.5243 GB, free: 23.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4069, allocations: 396 kB / 0.5247 GB, free: 23.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006745/0.4076, allocations: 415.2 kB / 0.5251 GB, free: 23.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008044/0.4084, allocations: 0.7802 MB / 0.5258 GB, free: 22.81 MB / 382.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.02391/0.4323, allocations: 4.544 MB / 0.5303 GB, free: 20.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.4323, allocations: 3 kB / 0.5303 GB, free: 20.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005205/0.4375, allocations: 1.779 MB / 0.532 GB, free: 19.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.4376, allocations: 7.938 kB / 0.532 GB, free: 19.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.4376, allocations: 18.23 kB / 0.532 GB, free: 19.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003375/0.441, allocations: 484 kB / 0.5325 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008905/0.4419, allocations: 285 kB / 0.5328 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005947/0.4478, allocations: 4.394 MB / 0.5371 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009138/0.4488, allocations: 40 kB / 0.5371 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.4489, allocations: 67.98 kB / 0.5372 GB, free: 15.38 MB / 382.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.0005658/0.4495, allocations: 281.3 kB / 0.5374 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.4497, allocations: 86.88 kB / 0.5375 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006101/0.4558, allocations: 1.755 MB / 0.5392 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.4558, allocations: 12 kB / 0.5392 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.4558, allocations: 3.938 kB / 0.5392 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.4559, allocations: 7.969 kB / 0.5392 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007433/0.4633, allocations: 2.945 MB / 0.5421 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.4634, allocations: 6.312 kB / 0.5421 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006739/0.464, allocations: 195.8 kB / 0.5423 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004363/0.4684, allocations: 0.5305 MB / 0.5428 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.4686, allocations: 39.97 kB / 0.5429 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006586/0.4752, allocations: 5.693 MB / 0.5484 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4752, allocations: 4 kB / 0.5484 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00644/0.4816, allocations: 2.315 MB / 0.5507 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.482, allocations: 156 kB / 0.5508 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.4821, allocations: 28 kB / 0.5509 GB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.4826, allocations: 27.98 kB / 0.5509 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/0.4828, allocations: 96.81 kB / 0.551 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.983e-05/0.4829, allocations: 51.92 kB / 0.551 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003791/0.4833, allocations: 391.1 kB / 0.5514 GB, free: 208 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4833, allocations: 0 / 0.5514 GB, free: 208 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001955/0.4853, allocations: 0.5998 MB / 0.552 GB, free: 15.66 MB / 398.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.008684/0.494, allocations: 3.377 MB / 0.5553 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002679/0.4967, allocations: 1.434 MB / 0.5567 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.4967, allocations: 0 / 0.5567 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.4982, allocations: 1.017 MB / 0.5577 GB, free: 9.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.4994, allocations: 208.2 kB / 0.5579 GB, free: 9.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/0.5187, allocations: 9.499 MB / 0.5672 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/0.5194, allocations: 1.073 MB / 0.5682 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008464/0.5203, allocations: 231.1 kB / 0.5684 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006526/0.5209, allocations: 0.5056 MB / 0.5689 GB, free: 13.86 MB / 414.1 MB Notification: Performance of SimCode: time 1.223e-06/0.5209, allocations: 0 / 0.5689 GB, free: 13.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06988/0.5908, allocations: 31.82 MB / 0.6 GB, free: 14.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/15.75, allocations: 6.188 kB / 0.6 GB, free: 14.28 MB / 446.1 MB (rm -f Chemical_Chemical.Examples.WaterVaporization.pipe ; mkfifo Chemical_Chemical.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_Chemical.Examples.WaterVaporization.pipe >> ../files/Chemical_Chemical.Examples.WaterVaporization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_WaterVaporization_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-08 Chemical_Chemical_Examples_WaterVaporization.fmu > Chemical_Chemical.Examples.WaterVaporization.pipe 2>&1)