Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(HelmholtzMedia.Examples.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") translateModel(HelmholtzMedia.Examples.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001394/0.001394, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04584/0.04584, allocations: 9.082 MB / 279.5 MB, free: 12.25 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004828, allocations: 16 kB / 339.1 MB, free: 25.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08197/0.08247, allocations: 49.19 MB / 388.3 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.0171/0.0996, allocations: 16.52 MB / 404.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.201/0.3007, allocations: 30.09 MB / 434.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.3009, allocations: 1.312 kB / 434.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008341/0.3018, allocations: 352.6 kB / 435.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.3021, allocations: 119.3 kB / 435.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01955/0.3217, allocations: 7.616 MB / 443 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004769/0.3222, allocations: 379.9 kB / 443.4 MB, free: 12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.415e-05/0.3222, allocations: 17.67 kB / 443.4 MB, free: 12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.3225, allocations: 157.8 kB / 443.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.3227, allocations: 112.6 kB / 443.7 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.3227, allocations: 7.688 kB / 443.7 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01785/0.3406, allocations: 9.344 MB / 453 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.092e-05/0.3407, allocations: 32.03 kB / 453 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.3409, allocations: 68.23 kB / 453.1 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00534/0.3462, allocations: 2.873 MB / 456 MB, free: 8.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3462, allocations: 0 / 456 MB, free: 8.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.3462, allocations: 0 / 456 MB, free: 8.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.3463, allocations: 4 kB / 456 MB, free: 8.879 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002195/0.3485, allocations: 1.131 MB / 457.1 MB, free: 8.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3485, allocations: 10.22 kB / 457.1 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.3487, allocations: 34.53 kB / 457.2 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.3489, allocations: 222 kB / 457.4 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.349, allocations: 9.75 kB / 457.4 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.349, allocations: 10.59 kB / 457.4 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.3496, allocations: 274.2 kB / 457.7 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3496, allocations: 3.188 kB / 457.7 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.3496, allocations: 2.25 kB / 457.7 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.3496, allocations: 8.953 kB / 457.7 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005649/0.3502, allocations: 258.9 kB / 457.9 MB, free: 7.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007496/0.351, allocations: 1.083 MB / 459 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/0.3514, allocations: 251.3 kB / 459.3 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.3517, allocations: 174 kB / 459.4 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06987/0.4216, allocations: 45.2 MB / 0.4928 GB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.786e-05/0.4217, allocations: 42.39 kB / 0.4928 GB, free: 4.215 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 3.406e-06/0.4217, allocations: 0 / 0.4928 GB, free: 4.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001505/0.4232, allocations: 0.4948 MB / 0.4933 GB, free: 3.816 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.4233, allocations: 139.8 kB / 0.4935 GB, free: 3.652 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.4235, allocations: 175.3 kB / 0.4936 GB, free: 3.488 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.4235, allocations: 28.95 kB / 0.4937 GB, free: 3.457 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.4236, allocations: 121.3 kB / 0.4938 GB, free: 3.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/0.4237, allocations: 94.97 kB / 0.4939 GB, free: 3.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.4237, allocations: 0 / 0.4939 GB, free: 3.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4238, allocations: 337.9 kB / 0.4942 GB, free: 2.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.4241, allocations: 111.5 kB / 0.4943 GB, free: 2.867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.4244, allocations: 182.8 kB / 0.4945 GB, free: 2.703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.4247, allocations: 142 kB / 0.4946 GB, free: 2.602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4247, allocations: 0 / 0.4946 GB, free: 2.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006684/0.4254, allocations: 349.7 kB / 0.4949 GB, free: 2.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.4254, allocations: 13.91 kB / 0.4949 GB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4254, allocations: 0 / 0.4949 GB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.4254, allocations: 4 kB / 0.495 GB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.4257, allocations: 54.02 kB / 0.495 GB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.902e-06/0.4257, allocations: 4 kB / 0.495 GB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.4259, allocations: 46.78 kB / 0.4951 GB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.426, allocations: 4 kB / 0.4951 GB, free: 2.215 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.4261, allocations: 139.5 kB / 0.4952 GB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/0.4262, allocations: 21.14 kB / 0.4952 GB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005982/0.4268, allocations: 380.5 kB / 0.4956 GB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.4268, allocations: 4 kB / 0.4956 GB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4268, allocations: 0 / 0.4956 GB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4268, allocations: 7.953 kB / 0.4956 GB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.4273, allocations: 321.9 kB / 0.4959 GB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.4274, allocations: 4 kB / 0.4959 GB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.4276, allocations: 43.97 kB / 0.4959 GB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.4276, allocations: 0 / 0.4959 GB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.4276, allocations: 11.92 kB / 0.4959 GB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4276, allocations: 0 / 0.4959 GB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.4276, allocations: 7.953 kB / 0.496 GB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007425/0.4284, allocations: 0.6596 MB / 0.4966 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.4285, allocations: 112.7 kB / 0.4967 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.4285, allocations: 0 / 0.4967 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.4288, allocations: 31.36 kB / 0.4967 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/0.4289, allocations: 30.94 kB / 0.4968 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.4289, allocations: 4 kB / 0.4968 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.686e-05/0.429, allocations: 131 kB / 0.4969 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.429, allocations: 0 / 0.4969 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00248/0.4315, allocations: 0.7833 MB / 0.4977 GB, free: 15.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003581/0.4351, allocations: 1.194 MB / 0.4988 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007393/0.4359, allocations: 302.5 kB / 0.4991 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4359, allocations: 0 / 0.4991 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.4362, allocations: 179.7 kB / 0.4993 GB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008338/0.4371, allocations: 93.52 kB / 0.4994 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009069/0.438, allocations: 0.5714 MB / 0.4999 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.4383, allocations: 0.7365 MB / 0.5007 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001916/0.4385, allocations: 48.48 kB / 0.5007 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/0.4386, allocations: 26.27 kB / 0.5007 GB, free: 12.92 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4386, allocations: 0 / 0.5007 GB, free: 12.92 MB / 382.1 MB Notification: Performance of Templates: time 0.03251/0.4711, allocations: 23.69 MB / 0.5239 GB, free: 5.273 MB / 398.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1) Environment - environmentSimulation: