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.0007993/0.0007994, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005518/0.005518, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1966/0.1966, allocations: 15.28 MB / 306.7 MB, free: 15.7 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003393, allocations: 8 kB / 372.2 MB, free: 3.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2814, allocations: 54.61 MB / 426.8 MB, free: 40.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.006122/0.2876, allocations: 6.963 MB / 433.8 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.2997, allocations: 14.39 MB / 448.2 MB, free: 27.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007939/0.3005, allocations: 24.91 kB / 448.2 MB, free: 27.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007236/0.3013, allocations: 300.8 kB / 448.5 MB, free: 27.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002263/0.3035, allocations: 0.9767 MB / 449.5 MB, free: 26.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004126/0.3077, allocations: 1.723 MB / 451.2 MB, free: 25.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001438/0.3091, allocations: 1.525 MB / 452.7 MB, free: 25.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006647/0.3098, allocations: 0.7876 MB / 453.5 MB, free: 24.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005389/0.3104, allocations: 0.6883 MB / 454.2 MB, free: 24.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006546/0.311, allocations: 0.7677 MB / 455 MB, free: 24.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.3111, allocations: 75.53 kB / 455 MB, free: 24.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.3146, allocations: 1.406 MB / 456.4 MB, free: 23.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.3148, allocations: 261.9 kB / 456.7 MB, free: 23.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000467/0.3153, allocations: 0.6909 MB / 457.4 MB, free: 23.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003677/0.319, allocations: 2.874 MB / 460.3 MB, free: 22.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.319, allocations: 0 / 460.3 MB, free: 22.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.319, allocations: 0 / 460.3 MB, free: 22.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.319, allocations: 3 kB / 460.3 MB, free: 22.27 MB / 350.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.002327/0.3213, allocations: 1.566 MB / 461.8 MB, free: 21.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.3214, allocations: 9.094 kB / 461.8 MB, free: 21.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002025/0.3216, allocations: 190.2 kB / 462 MB, free: 21.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.3228, allocations: 316.4 kB / 462.3 MB, free: 21.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008085/0.3236, allocations: 0.6394 MB / 463 MB, free: 20.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-05/0.3237, allocations: 95.38 kB / 463.1 MB, free: 20.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.3239, allocations: 132.7 kB / 463.2 MB, free: 20.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.3261, allocations: 1.53 MB / 464.7 MB, free: 19.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.3261, allocations: 0 / 464.7 MB, free: 19.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.3262, allocations: 54.84 kB / 464.8 MB, free: 19.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.3263, allocations: 31.28 kB / 464.8 MB, free: 19.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.3288, allocations: 1.852 MB / 466.7 MB, free: 19.26 MB / 350.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.006216/0.335, allocations: 4.635 MB / 471.3 MB, free: 16.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.3368, allocations: 1.339 MB / 472.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007933/0.3376, allocations: 0.5386 MB / 473.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005518/0.3432, allocations: 4.508 MB / 477.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3432, allocations: 47.08 kB / 477.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003393/0.3436, allocations: 80.56 kB / 477.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.795e-06/0.3436, allocations: 0 / 477.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.01937/0.3629, allocations: 4.358 MB / 482.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.363, allocations: 66.16 kB / 482.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.3637, allocations: 0.5869 MB / 482.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.228e-05/0.3638, allocations: 40.98 kB / 482.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.3641, allocations: 0.5732 MB / 483.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.3643, allocations: 348.8 kB / 483.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.3645, allocations: 101 kB / 483.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3646, allocations: 393.1 kB / 484.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006762/0.3653, allocations: 415.9 kB / 484.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007883/0.3661, allocations: 0.7744 MB / 485.4 MB, free: 8.082 MB / 350.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.02635/0.3924, allocations: 4.546 MB / 490 MB, free: 5.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3924, allocations: 4 kB / 490 MB, free: 5.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005478/0.3979, allocations: 1.767 MB / 491.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.398, allocations: 15.92 kB / 491.8 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.398, allocations: 16.12 kB / 491.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003798/0.4018, allocations: 477.2 kB / 492.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007924/0.4026, allocations: 283.6 kB / 492.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006239/0.4088, allocations: 4.127 MB / 496.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009975/0.4099, allocations: 76.02 kB / 496.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.41, allocations: 71.98 kB / 496.8 MB, free: 14.32 MB / 366.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0004893/0.4105, allocations: 273.4 kB / 497.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.4106, allocations: 90.86 kB / 497.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007033/0.4177, allocations: 1.753 MB / 498.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.4177, allocations: 12 kB / 498.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4177, allocations: 7.938 kB / 498.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.4177, allocations: 7.969 kB / 498.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008291/0.426, allocations: 2.949 MB / 0.4901 GB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.4261, allocations: 4.312 kB / 0.4901 GB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006832/0.4268, allocations: 199.7 kB / 0.4903 GB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005102/0.4319, allocations: 0.5409 MB / 0.4908 GB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.432, allocations: 39.98 kB / 0.4909 GB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00754/0.4395, allocations: 5.284 MB / 0.496 GB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.4396, allocations: 3.938 kB / 0.496 GB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007442/0.447, allocations: 2.302 MB / 0.4983 GB, free: 264 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002984/0.4473, allocations: 156 kB / 0.4984 GB, free: 88 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.4475, allocations: 27.98 kB / 0.4985 GB, free: 60 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/0.448, allocations: 47.89 kB / 0.4985 GB, free: 12 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.4483, allocations: 100.8 kB / 0.4986 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-05/0.4484, allocations: 43.98 kB / 0.4986 GB, free: 15.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004467/0.4488, allocations: 387.1 kB / 0.499 GB, free: 15.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4488, allocations: 0 / 0.499 GB, free: 15.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001705/0.4506, allocations: 0.5934 MB / 0.4996 GB, free: 14.91 MB / 382.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 (99): * Single equations (assignments): 96 * 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.008715/0.4593, allocations: 3.365 MB / 0.5029 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002397/0.4617, allocations: 1.43 MB / 0.5043 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4617, allocations: 0 / 0.5043 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.4631, allocations: 0.994 MB / 0.5052 GB, free: 8.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.4644, allocations: 198.7 kB / 0.5054 GB, free: 8.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/0.4847, allocations: 10.44 MB / 0.5156 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/0.4854, allocations: 1.069 MB / 0.5167 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009694/0.4864, allocations: 227.2 kB / 0.5169 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006459/0.487, allocations: 0.5031 MB / 0.5174 GB, free: 11.94 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.487, allocations: 0 / 0.5174 GB, free: 11.94 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.14/1.627, allocations: 30.04 MB / 0.5467 GB, free: 14.12 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/1.627, allocations: 211.7 kB / 0.5469 GB, free: 13.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.75/4.377, allocations: 0 / 0.5469 GB, free: 13.87 MB / 430.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)