Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.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.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001042/0.001043, allocations: 192.6 kB / 16.14 MB, free: 6.703 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.25/1.25, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04289/0.04289, allocations: 9.081 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.001255/0.001255, allocations: 60.34 kB / 337.3 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07485/0.07611, allocations: 48.18 MB / 385.5 MB, free: 9.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01621/0.09236, allocations: 17.14 MB / 402.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005142/0.09755, allocations: 5.998 MB / 408.6 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.0976, allocations: 0 / 408.6 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00061/0.09822, allocations: 244.1 kB / 408.9 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.931e-05/0.0983, allocations: 19.84 kB / 408.9 MB, free: 2.176 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008174/0.1065, allocations: 3.494 MB / 412.4 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.866e-05/0.1066, allocations: 51.67 kB / 412.4 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.009e-05/0.1066, allocations: 4 kB / 412.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.066e-05/0.1067, allocations: 23.86 kB / 412.5 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.336e-05/0.1067, allocations: 15.94 kB / 412.5 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.1068, allocations: 0 / 412.5 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008792/0.1156, allocations: 6.303 MB / 418.8 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.1156, allocations: 0 / 418.8 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.1157, allocations: 15.94 kB / 418.8 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004643/0.1203, allocations: 2.724 MB / 421.5 MB, free: 5.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1203, allocations: 4 kB / 421.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1203, allocations: 0 / 421.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1203, allocations: 0 / 421.5 MB, free: 5.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008422/0.1212, allocations: 0.6084 MB / 422.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1212, allocations: 8.031 kB / 422.1 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.1213, allocations: 11.84 kB / 422.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1214, allocations: 174.9 kB / 422.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1214, allocations: 0 / 422.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.1214, allocations: 0 / 422.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.583e-05/0.1215, allocations: 41.7 kB / 422.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1215, allocations: 0 / 422.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1215, allocations: 3.938 kB / 422.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1215, allocations: 4 kB / 422.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.357e-05/0.1216, allocations: 15.98 kB / 422.4 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.1217, allocations: 157.7 kB / 422.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.443e-05/0.1218, allocations: 30.52 kB / 422.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.1218, allocations: 20.89 kB / 422.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1445/0.2663, allocations: 9.959 MB / 432.6 MB, free: 41.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.2664, allocations: 37.59 kB / 432.6 MB, free: 41.45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.2664, allocations: 1.125 kB / 432.6 MB, free: 41.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001792/0.2666, allocations: 73.81 kB / 432.7 MB, free: 41.42 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.2666, allocations: 53.38 kB / 432.7 MB, free: 41.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.647e-05/0.2667, allocations: 99.62 kB / 432.8 MB, free: 41.26 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.2667, allocations: 25.7 kB / 432.8 MB, free: 41.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.271e-05/0.2667, allocations: 80.14 kB / 432.9 MB, free: 41.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.2667, allocations: 23.75 kB / 432.9 MB, free: 41.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.2668, allocations: 13.45 kB / 433 MB, free: 41.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.904e-05/0.2668, allocations: 318.3 kB / 433.3 MB, free: 40.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.2668, allocations: 10.62 kB / 433.3 MB, free: 40.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.2669, allocations: 14.97 kB / 433.3 MB, free: 40.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.2669, allocations: 42.16 kB / 433.3 MB, free: 40.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2669, allocations: 0 / 433.3 MB, free: 40.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.811e-05/0.267, allocations: 62.64 kB / 433.4 MB, free: 40.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.267, allocations: 6.375 kB / 433.4 MB, free: 40.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.267, allocations: 0 / 433.4 MB, free: 40.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.267, allocations: 4.406 kB / 433.4 MB, free: 40.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.267, allocations: 3.188 kB / 433.4 MB, free: 40.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2671, allocations: 0.7031 kB / 433.4 MB, free: 40.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.2671, allocations: 7.094 kB / 433.4 MB, free: 40.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.2671, allocations: 3.188 kB / 433.4 MB, free: 40.77 MB / 318.1 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 4.364e-05/0.2671, allocations: 116.4 kB / 433.5 MB, free: 40.65 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/0.2672, allocations: 1.828 kB / 433.5 MB, free: 40.65 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.2673, allocations: 173.5 kB / 433.7 MB, free: 40.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/0.2673, allocations: 179.3 kB / 433.9 MB, free: 40.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/0.2673, allocations: 186.9 kB / 434.1 MB, free: 40.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/0.2673, allocations: 176.9 kB / 434.2 MB, free: 39.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.2675, allocations: 414.4 kB / 434.6 MB, free: 39.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.2675, allocations: 109.9 kB / 434.7 MB, free: 39.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.362e-05/0.2675, allocations: 103.2 kB / 434.8 MB, free: 39.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.98e-05/0.2675, allocations: 182 kB / 435 MB, free: 39.1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.2676, allocations: 180.9 kB / 435.2 MB, free: 38.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-05/0.2676, allocations: 186.5 kB / 435.4 MB, free: 38.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-05/0.2676, allocations: 184.6 kB / 435.6 MB, free: 38.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.254e-05/0.2677, allocations: 309.2 kB / 435.9 MB, free: 38.24 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.2677, allocations: 184.3 kB / 436 MB, free: 38.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.2678, allocations: 184.1 kB / 436.2 MB, free: 37.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.817e-05/0.2678, allocations: 108.5 kB / 436.3 MB, free: 37.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.2679, allocations: 177.7 kB / 436.5 MB, free: 37.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.2679, allocations: 102.2 kB / 436.6 MB, free: 37.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.653e-05/0.2679, allocations: 112 kB / 436.7 MB, free: 37.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.268, allocations: 0 / 436.7 MB, free: 37.38 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001401/0.2694, allocations: 0.5946 MB / 437.3 MB, free: 37.37 MB / 318.1 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.00264/0.272, allocations: 1.029 MB / 438.3 MB, free: 37.12 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.965e-05/0.2721, allocations: 16.88 kB / 438.4 MB, free: 37.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2721, allocations: 0 / 438.4 MB, free: 37.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.454e-06/0.2721, allocations: 6.469 kB / 438.4 MB, free: 37.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.2725, allocations: 0.5546 MB / 438.9 MB, free: 36.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.2728, allocations: 210.1 kB / 439.1 MB, free: 36.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.361e-05/0.2729, allocations: 0.6825 MB / 439.8 MB, free: 35.71 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.427e-05/0.2729, allocations: 1.375 kB / 439.8 MB, free: 35.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.23e-05/0.2729, allocations: 11.56 kB / 439.8 MB, free: 35.7 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2729, allocations: 0 / 439.8 MB, free: 35.7 MB / 318.1 MB Notification: Performance of Templates: time 0.02347/0.2964, allocations: 19.53 MB / 459.3 MB, free: 23.1 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1)