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.001043/0.001043, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001032/0.001033, allocations: 196.2 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04203/0.04203, allocations: 9.085 MB / 278.4 MB, free: 12.39 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.001189/0.001189, allocations: 55.92 kB / 337.3 MB, free: 25.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.069/0.0702, allocations: 48.16 MB / 385.5 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01708/0.08731, allocations: 18.13 MB / 403.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1684/0.2557, allocations: 32.71 MB / 436.3 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.2559, allocations: 2.656 kB / 436.3 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009098/0.2568, allocations: 372.4 kB / 436.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.2572, allocations: 119.1 kB / 436.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02277/0.2799, allocations: 8.129 MB / 444.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.2805, allocations: 418.6 kB / 445.3 MB, free: 9.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.318e-05/0.2805, allocations: 22.39 kB / 445.4 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.2808, allocations: 151.7 kB / 445.5 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.281, allocations: 118.6 kB / 445.6 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.281, allocations: 10.28 kB / 445.6 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01536/0.2964, allocations: 10.52 MB / 456.2 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.484e-05/0.2965, allocations: 41.48 kB / 456.2 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.2967, allocations: 102.3 kB / 456.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009184/0.3059, allocations: 4.603 MB / 460.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3059, allocations: 0 / 460.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3059, allocations: 0 / 460.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.3059, allocations: 0 / 460.9 MB, free: 4.883 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.001851/0.3078, allocations: 1.132 MB / 462 MB, free: 4.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.3078, allocations: 12.36 kB / 462 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.3081, allocations: 32.91 kB / 462.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3082, allocations: 226.2 kB / 462.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3083, allocations: 17.25 kB / 462.3 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.3083, allocations: 12.12 kB / 462.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.3088, allocations: 257.3 kB / 462.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.3088, allocations: 0 / 462.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.3088, allocations: 2.906 kB / 462.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.3089, allocations: 10.53 kB / 462.6 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005554/0.3094, allocations: 228.5 kB / 462.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006955/0.3101, allocations: 1.076 MB / 463.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.3105, allocations: 245.4 kB / 464.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.3108, allocations: 155.4 kB / 464.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07903/0.3898, allocations: 46.25 MB / 0.4986 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.3899, allocations: 46.48 kB / 0.4986 GB, free: 11.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.124e-06/0.3899, allocations: 0 / 0.4986 GB, free: 11.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001373/0.3913, allocations: 460.9 kB / 0.4991 GB, free: 11.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.3914, allocations: 140 kB / 0.4992 GB, free: 11.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.3915, allocations: 180.2 kB / 0.4994 GB, free: 10.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3915, allocations: 25.7 kB / 0.4994 GB, free: 10.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.3916, allocations: 123.3 kB / 0.4995 GB, free: 10.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/0.3917, allocations: 90.66 kB / 0.4996 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-05/0.3918, allocations: 41.69 kB / 0.4996 GB, free: 10.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.3919, allocations: 334.7 kB / 0.4999 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.3921, allocations: 111.9 kB / 0.5001 GB, free: 10.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.3924, allocations: 161.9 kB / 0.5002 GB, free: 10.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005189/0.3929, allocations: 286.6 kB / 0.5005 GB, free: 9.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.393, allocations: 4 kB / 0.5005 GB, free: 9.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006266/0.3936, allocations: 322 kB / 0.5008 GB, free: 9.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3936, allocations: 4 kB / 0.5008 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3936, allocations: 5.875 kB / 0.5008 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3936, allocations: 0 / 0.5008 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.3939, allocations: 51.89 kB / 0.5008 GB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3939, allocations: 4 kB / 0.5009 GB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3941, allocations: 35.91 kB / 0.5009 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.3941, allocations: 4 kB / 0.5009 GB, free: 9.289 MB / 382.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.sat.vap.phase,medium.sat.liq.phase,medium.state.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.3943, allocations: 141.7 kB / 0.501 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.361e-05/0.3944, allocations: 19.72 kB / 0.501 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005676/0.3949, allocations: 369 kB / 0.5014 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.395, allocations: 6.734 kB / 0.5014 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.395, allocations: 0 / 0.5014 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.395, allocations: 3.984 kB / 0.5014 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.3954, allocations: 325.3 kB / 0.5017 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3954, allocations: 0 / 0.5017 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.3956, allocations: 47.89 kB / 0.5018 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3957, allocations: 4 kB / 0.5018 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.3957, allocations: 11.88 kB / 0.5018 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3957, allocations: 4 kB / 0.5018 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3957, allocations: 0 / 0.5018 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006802/0.3964, allocations: 0.6438 MB / 0.5024 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.3964, allocations: 96.86 kB / 0.5025 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.3965, allocations: 0 / 0.5025 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.3968, allocations: 35.88 kB / 0.5025 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.3969, allocations: 19.16 kB / 0.5026 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.3969, allocations: 8 kB / 0.5026 GB, free: 7.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.211e-05/0.397, allocations: 124.1 kB / 0.5027 GB, free: 7.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.397, allocations: 0 / 0.5027 GB, free: 7.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001938/0.3989, allocations: 0.7924 MB / 0.5035 GB, free: 6.582 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00277/0.4017, allocations: 1.181 MB / 0.5046 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006742/0.4024, allocations: 287.6 kB / 0.5049 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4024, allocations: 0 / 0.5049 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.4027, allocations: 168.3 kB / 0.505 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008237/0.4036, allocations: 89.95 kB / 0.5051 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007848/0.4043, allocations: 0.5549 MB / 0.5057 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.4046, allocations: 0.7518 MB / 0.5064 GB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.4048, allocations: 44.5 kB / 0.5064 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.4049, allocations: 19.42 kB / 0.5065 GB, free: 3.555 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4049, allocations: 4 kB / 0.5065 GB, free: 3.551 MB / 382.1 MB Notification: Performance of Templates: time 0.02923/0.4341, allocations: 23.86 MB / 0.5298 GB, free: 11.7 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.makefile (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)