Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_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_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00126/0.001261, allocations: 182.5 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.04795/0.04795, allocations: 9.086 MB / 25.82 MB, free: 3.406 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.382/1.382, 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.001028/0.001028, allocations: 112.1 kB / 282.1 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009758/0.0009759, allocations: 63.89 kB / 341.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1947, allocations: 48.14 MB / 389.2 MB, free: 38.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01282/0.2075, allocations: 17.14 MB / 406.4 MB, free: 21.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006722/0.2143, allocations: 10.75 MB / 417.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.2144, allocations: 0 / 417.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.2149, allocations: 245.5 kB / 417.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.8e-05/0.215, allocations: 19.91 kB / 417.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009074/0.224, allocations: 4.765 MB / 422.1 MB, free: 5.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.607e-05/0.2241, allocations: 47.73 kB / 422.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.2242, allocations: 15.92 kB / 422.2 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.859e-05/0.2242, allocations: 23.88 kB / 422.2 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.078e-05/0.2243, allocations: 11.94 kB / 422.2 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.173e-06/0.2243, allocations: 0 / 422.2 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009594/0.2339, allocations: 8.006 MB / 430.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.2339, allocations: 3.938 kB / 430.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.234, allocations: 11.94 kB / 430.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006756/0.2407, allocations: 3.5 MB / 433.8 MB, free: 9.871 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2408, allocations: 0 / 433.8 MB, free: 9.871 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2408, allocations: 0 / 433.8 MB, free: 9.871 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.2408, allocations: 3.938 kB / 433.8 MB, free: 9.867 MB / 314.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.001153/0.242, allocations: 0.7448 MB / 434.5 MB, free: 9.074 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.242, allocations: 12.03 kB / 434.5 MB, free: 9.062 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.242, allocations: 7.938 kB / 434.5 MB, free: 9.055 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.2421, allocations: 166.9 kB / 434.7 MB, free: 8.852 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.2422, allocations: 0 / 434.7 MB, free: 8.852 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.2422, allocations: 0 / 434.7 MB, free: 8.852 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.207e-05/0.2423, allocations: 45.69 kB / 434.7 MB, free: 8.801 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.2423, allocations: 3.938 kB / 434.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.2423, allocations: 0 / 434.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2423, allocations: 0 / 434.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.741e-05/0.2423, allocations: 19.88 kB / 434.8 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.2425, allocations: 169.7 kB / 434.9 MB, free: 8.562 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.534e-05/0.2425, allocations: 34.56 kB / 435 MB, free: 8.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.2426, allocations: 12.89 kB / 435 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05403/0.2966, allocations: 33.03 MB / 468 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.2967, allocations: 42.55 kB / 468 MB, free: 1.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.265e-06/0.2967, allocations: 0 / 468 MB, free: 1.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001833/0.2969, allocations: 77.78 kB / 468.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.2969, allocations: 51.41 kB / 468.2 MB, free: 1.488 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.297, allocations: 97.98 kB / 468.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.297, allocations: 29.73 kB / 468.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.297, allocations: 80.14 kB / 468.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.2971, allocations: 23.64 kB / 468.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.2971, allocations: 17.72 kB / 468.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.2972, allocations: 310.8 kB / 468.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.2972, allocations: 11.98 kB / 468.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/0.2972, allocations: 19.98 kB / 468.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.245e-05/0.2973, allocations: 36.78 kB / 468.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2973, allocations: 4.031 kB / 468.8 MB, free: 0.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.316e-05/0.2974, allocations: 61.59 kB / 468.8 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.2974, allocations: 8 kB / 468.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2974, allocations: 7.875 kB / 468.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2974, allocations: 0 / 468.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.2974, allocations: 0 / 468.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.2975, allocations: 0 / 468.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.2975, allocations: 0 / 468.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.2975, allocations: 0 / 468.9 MB, free: 0.75 MB / 346.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 6.468e-05/0.2976, allocations: 117.9 kB / 469 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.2976, allocations: 0 / 469 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.2977, allocations: 178.7 kB / 469.2 MB, free: 432 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.319e-05/0.2978, allocations: 176.3 kB / 469.3 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.843e-05/0.2978, allocations: 184.2 kB / 469.5 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-05/0.2979, allocations: 184.2 kB / 469.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.2981, allocations: 417.1 kB / 470.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.761e-05/0.2982, allocations: 104.9 kB / 470.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/0.2982, allocations: 101 kB / 470.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.609e-05/0.2982, allocations: 180.3 kB / 470.5 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.939e-05/0.2983, allocations: 188.2 kB / 470.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.981e-05/0.2984, allocations: 188.3 kB / 470.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.164e-05/0.2984, allocations: 180.2 kB / 471 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.2988, allocations: 0.8532 MB / 471.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.2989, allocations: 194 kB / 472.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/0.299, allocations: 184.2 kB / 472.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.299, allocations: 101 kB / 472.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.2991, allocations: 180.2 kB / 472.5 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.2991, allocations: 105 kB / 472.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.599e-05/0.2992, allocations: 103.3 kB / 472.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2992, allocations: 0 / 472.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001892/0.3011, allocations: 0.8745 MB / 473.6 MB, free: 11.74 MB / 362.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.003037/0.3042, allocations: 1.431 MB / 475 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.029e-05/0.3043, allocations: 16 kB / 475 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3043, allocations: 0 / 475 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.694e-06/0.3043, allocations: 0 / 475 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.3048, allocations: 0.5613 MB / 475.6 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.3051, allocations: 208.8 kB / 475.8 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.3053, allocations: 0.677 MB / 476.5 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.079e-05/0.3053, allocations: 0 / 476.5 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-06/0.3053, allocations: 11.44 kB / 476.5 MB, free: 8.777 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3053, allocations: 0 / 476.5 MB, free: 8.777 MB / 362.7 MB Notification: Performance of Templates: time 0.02921/0.3346, allocations: 23.45 MB / 499.9 MB, free: 1.305 MB / 378.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1)