Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04576/0.04576, allocations: 9.083 MB / 25.82 MB, free: 3.398 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 233.2 MB, free: 14.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009566/0.0009566, allocations: 91.48 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 47.92 kB / 341.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2055, allocations: 48.16 MB / 389.2 MB, free: 38.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01368/0.2192, allocations: 17.14 MB / 406.4 MB, free: 21.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.2207, allocations: 1.92 MB / 408.3 MB, free: 19.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.91e-05/0.2207, allocations: 0 / 408.3 MB, free: 19.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.2212, allocations: 242 kB / 408.5 MB, free: 19.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.756e-05/0.2213, allocations: 19.84 kB / 408.5 MB, free: 19.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005408/0.2267, allocations: 2.395 MB / 410.9 MB, free: 16.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.326e-05/0.2268, allocations: 55.73 kB / 411 MB, free: 16.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.2269, allocations: 4 kB / 411 MB, free: 16.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.059e-05/0.2269, allocations: 23.86 kB / 411 MB, free: 16.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.227, allocations: 19.88 kB / 411 MB, free: 16.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.574e-06/0.227, allocations: 0 / 411 MB, free: 16.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006019/0.233, allocations: 4.603 MB / 415.6 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.2331, allocations: 0 / 415.6 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/0.2331, allocations: 15.88 kB / 415.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004067/0.2372, allocations: 1.898 MB / 417.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2373, allocations: 0 / 417.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2373, allocations: 0 / 417.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.2373, allocations: 0 / 417.6 MB, free: 10.11 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009177/0.2382, allocations: 0.4991 MB / 418.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.2383, allocations: 8.031 kB / 418.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.2383, allocations: 4 kB / 418.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.2384, allocations: 174.9 kB / 418.2 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.2384, allocations: 4 kB / 418.2 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.2384, allocations: 0 / 418.2 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.687e-05/0.2386, allocations: 37.7 kB / 418.3 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2386, allocations: 0 / 418.3 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.2386, allocations: 0 / 418.3 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.2386, allocations: 0 / 418.3 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.331e-05/0.2386, allocations: 19.97 kB / 418.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.2388, allocations: 169.5 kB / 418.5 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.364e-05/0.2388, allocations: 38.52 kB / 418.5 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.2388, allocations: 24.83 kB / 418.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02824/0.2671, allocations: 19.35 MB / 437.9 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.2672, allocations: 34.56 kB / 437.9 MB, free: 2.211 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.645e-06/0.2672, allocations: 4 kB / 437.9 MB, free: 2.207 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002417/0.2674, allocations: 73.59 kB / 438 MB, free: 2.129 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.2675, allocations: 55.34 kB / 438 MB, free: 2.062 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.249e-05/0.2676, allocations: 97.84 kB / 438.1 MB, free: 1.957 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.2676, allocations: 25.7 kB / 438.2 MB, free: 1.926 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.2676, allocations: 80.14 kB / 438.2 MB, free: 1.844 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.2677, allocations: 27.81 kB / 438.3 MB, free: 1.816 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.2677, allocations: 9.719 kB / 438.3 MB, free: 1.801 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2678, allocations: 326.8 kB / 438.6 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.2679, allocations: 12 kB / 438.6 MB, free: 1.461 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.178e-05/0.2679, allocations: 15.94 kB / 438.6 MB, free: 1.445 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.604e-05/0.268, allocations: 33.16 kB / 438.7 MB, free: 1.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.268, allocations: 0 / 438.7 MB, free: 1.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.374e-05/0.2681, allocations: 65.66 kB / 438.7 MB, free: 1.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2681, allocations: 7.938 kB / 438.7 MB, free: 1.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2681, allocations: 4.062 kB / 438.7 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2681, allocations: 4 kB / 438.7 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.2681, allocations: 0 / 438.7 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2681, allocations: 0 / 438.7 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.2682, allocations: 0 / 438.7 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.2682, allocations: 0 / 438.7 MB, free: 1.324 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 7.967e-05/0.2683, allocations: 121.8 kB / 438.9 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.2683, allocations: 3.906 kB / 438.9 MB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.2684, allocations: 166.9 kB / 439 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.337e-05/0.2685, allocations: 184.2 kB / 439.2 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.301e-05/0.2686, allocations: 184.2 kB / 439.4 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.629e-05/0.2686, allocations: 180.2 kB / 439.6 MB, free: 456 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.2689, allocations: 409.2 kB / 440 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.543e-05/0.2689, allocations: 109 kB / 440.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.269, allocations: 104.9 kB / 440.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-05/0.269, allocations: 176.3 kB / 440.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/0.2691, allocations: 188.2 kB / 440.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.093e-05/0.2692, allocations: 180.3 kB / 440.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-05/0.2692, allocations: 176.3 kB / 440.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.2696, allocations: 0.8608 MB / 441.7 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.351e-05/0.2697, allocations: 186.1 kB / 441.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-05/0.2698, allocations: 184.1 kB / 442.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.2699, allocations: 112.9 kB / 442.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.27, allocations: 180.3 kB / 442.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.27, allocations: 104.9 kB / 442.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.551e-05/0.2701, allocations: 99.27 kB / 442.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2701, allocations: 0 / 442.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001279/0.2714, allocations: 399.8 kB / 443 MB, free: 12.81 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002093/0.2735, allocations: 0.7097 MB / 443.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.694e-05/0.2736, allocations: 27.92 kB / 443.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2736, allocations: 0 / 443.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.2736, allocations: 0 / 443.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.2742, allocations: 0.5498 MB / 444.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.2745, allocations: 220.8 kB / 444.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.2748, allocations: 0.6809 MB / 445.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.677e-05/0.2748, allocations: 4 kB / 445.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.2749, allocations: 11.44 kB / 445.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2749, allocations: 0 / 445.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of Templates: time 0.02141/0.2963, allocations: 14.14 MB / 459.3 MB, free: 12.39 MB / 346.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1)