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.004835/0.004835, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001108/0.001108, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1919/0.1919, allocations: 15.32 MB / 305.9 MB, free: 15.29 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 59.91 kB / 424.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2658, allocations: 53.61 MB / 478.3 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.007138/0.273, allocations: 6.537 MB / 484.8 MB, free: 20.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01362/0.2867, allocations: 14.58 MB / 499.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.2881, allocations: 13.78 kB / 499.4 MB, free: 9.215 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009719/0.2891, allocations: 341.6 kB / 499.8 MB, free: 8.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.2922, allocations: 1.103 MB / 0.4891 GB, free: 8.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005083/0.2973, allocations: 1.954 MB / 0.491 GB, free: 6.555 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002213/0.2995, allocations: 1.602 MB / 0.4926 GB, free: 5.598 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009783/0.3005, allocations: 0.9714 MB / 0.4936 GB, free: 4.941 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008238/0.3014, allocations: 0.7591 MB / 0.4943 GB, free: 4.562 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008238/0.3022, allocations: 0.8352 MB / 0.4951 GB, free: 4.039 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.3024, allocations: 149.7 kB / 0.4953 GB, free: 4.039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005027/0.3074, allocations: 1.466 MB / 0.4967 GB, free: 3.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.3077, allocations: 348.1 kB / 0.497 GB, free: 3.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007118/0.3084, allocations: 0.7397 MB / 0.4977 GB, free: 2.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006336/0.3148, allocations: 3.11 MB / 0.5008 GB, free: 24 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3148, allocations: 0 / 0.5008 GB, free: 24 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3148, allocations: 4 kB / 0.5008 GB, free: 20 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.3148, allocations: 0 / 0.5008 GB, free: 20 kB / 366.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.00307/0.3179, allocations: 1.837 MB / 0.5026 GB, free: 14.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.318, allocations: 12.03 kB / 0.5026 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/0.3182, allocations: 190.2 kB / 0.5028 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.3194, allocations: 308.2 kB / 0.5031 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.3204, allocations: 0.6725 MB / 0.5037 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.747e-05/0.3205, allocations: 94.94 kB / 0.5038 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.3207, allocations: 136 kB / 0.5039 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.3228, allocations: 1.53 MB / 0.5054 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.3228, allocations: 4 kB / 0.5054 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.323, allocations: 48 kB / 0.5055 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.323, allocations: 32 kB / 0.5055 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.3255, allocations: 1.857 MB / 0.5073 GB, free: 9.172 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.006267/0.3317, allocations: 4.628 MB / 0.5118 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.3335, allocations: 1.346 MB / 0.5132 GB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006873/0.3343, allocations: 0.5348 MB / 0.5137 GB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00551/0.3398, allocations: 4.58 MB / 0.5182 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3398, allocations: 43.22 kB / 0.5182 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003026/0.3401, allocations: 87.09 kB / 0.5183 GB, free: 13.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 4.188e-06/0.3401, allocations: 0 / 0.5183 GB, free: 13.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=100): time 0.01873/0.3589, allocations: 4.33 MB / 0.5225 GB, free: 8.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.359, allocations: 60.41 kB / 0.5226 GB, free: 8.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006887/0.3597, allocations: 0.59 MB / 0.5231 GB, free: 8.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.746e-05/0.3598, allocations: 41.7 kB / 0.5232 GB, free: 8.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.3601, allocations: 0.5762 MB / 0.5237 GB, free: 7.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.3603, allocations: 350.9 kB / 0.5241 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002968/0.3606, allocations: 230.8 kB / 0.5243 GB, free: 6.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3608, allocations: 394.7 kB / 0.5247 GB, free: 6.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006265/0.3614, allocations: 418.4 kB / 0.5251 GB, free: 6.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008655/0.3623, allocations: 0.7745 MB / 0.5258 GB, free: 5.184 MB / 398.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.02515/0.3875, allocations: 4.539 MB / 0.5303 GB, free: 476 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.3875, allocations: 12 kB / 0.5303 GB, free: 464 kB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005533/0.393, allocations: 1.779 MB / 0.532 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.3931, allocations: 8 kB / 0.532 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.3931, allocations: 12 kB / 0.532 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00372/0.3968, allocations: 476.6 kB / 0.5325 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009323/0.3978, allocations: 295.5 kB / 0.5328 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006796/0.4046, allocations: 4.382 MB / 0.537 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008542/0.4055, allocations: 47.98 kB / 0.5371 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.4056, allocations: 67.98 kB / 0.5372 GB, free: 9.109 MB / 414.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.0004723/0.4061, allocations: 281.4 kB / 0.5374 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.4063, allocations: 82.97 kB / 0.5375 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006525/0.4128, allocations: 1.762 MB / 0.5392 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.4129, allocations: 8 kB / 0.5392 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.4129, allocations: 7.938 kB / 0.5392 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.4129, allocations: 3.984 kB / 0.5392 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008087/0.421, allocations: 2.952 MB / 0.5421 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.421, allocations: 0 / 0.5421 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006744/0.4217, allocations: 204 kB / 0.5423 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004954/0.4267, allocations: 0.5288 MB / 0.5428 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.4268, allocations: 35.98 kB / 0.5429 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007793/0.4346, allocations: 5.681 MB / 0.5484 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4346, allocations: 7.938 kB / 0.5484 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00738/0.442, allocations: 2.32 MB / 0.5507 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.4423, allocations: 152 kB / 0.5508 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.4425, allocations: 24 kB / 0.5509 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005901/0.4431, allocations: 24 kB / 0.5509 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/0.4434, allocations: 108.7 kB / 0.551 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.072e-05/0.4435, allocations: 51.92 kB / 0.551 GB, free: 10.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004766/0.444, allocations: 387.1 kB / 0.5514 GB, free: 9.859 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.444, allocations: 0 / 0.5514 GB, free: 9.859 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001707/0.4457, allocations: 0.5933 MB / 0.552 GB, free: 9.266 MB / 430.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.00878/0.4545, allocations: 3.389 MB / 0.5553 GB, free: 5.812 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002399/0.4569, allocations: 1.43 MB / 0.5567 GB, free: 4.359 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.457, allocations: 0 / 0.5567 GB, free: 4.359 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.4583, allocations: 1.006 MB / 0.5577 GB, free: 3.312 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.4594, allocations: 217.2 kB / 0.5579 GB, free: 3.109 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/0.4779, allocations: 9.517 MB / 0.5672 GB, free: 9.078 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.4785, allocations: 1.069 MB / 0.5682 GB, free: 7.984 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007534/0.4793, allocations: 235.1 kB / 0.5684 GB, free: 7.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006041/0.4799, allocations: 0.4992 MB / 0.5689 GB, free: 7.25 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4799, allocations: 0 / 0.5689 GB, free: 7.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06265/0.5426, allocations: 32.37 MB / 0.6005 GB, free: 7.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/15.46, allocations: 4 kB / 0.6005 GB, free: 7.086 MB / 478.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)