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.001214/0.001214, allocations: 103.3 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.001451/0.001451, allocations: 173.3 kB / 15.95 MB, free: 212 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.274/1.274, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04407/0.04407, allocations: 9.047 MB / 279.4 MB, free: 12.27 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.0005213/0.0005214, allocations: 16.22 kB / 339.1 MB, free: 26.03 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07174/0.07227, allocations: 49.2 MB / 388.3 MB, free: 8.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01602/0.08833, allocations: 14.13 MB / 402.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005228/0.0936, allocations: 5.127 MB / 407.5 MB, free: 5.469 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.09365, allocations: 0 / 407.5 MB, free: 5.469 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005684/0.09423, allocations: 239.2 kB / 407.8 MB, free: 5.234 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.855e-05/0.09428, allocations: 23.94 kB / 407.8 MB, free: 5.211 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007389/0.1017, allocations: 3.409 MB / 411.2 MB, free: 1.809 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.131e-05/0.1017, allocations: 31.94 kB / 411.2 MB, free: 1.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.1018, allocations: 7.938 kB / 411.2 MB, free: 1.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.983e-05/0.1019, allocations: 27.91 kB / 411.3 MB, free: 1.742 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.596e-05/0.1019, allocations: 8 kB / 411.3 MB, free: 1.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.774e-06/0.1019, allocations: 3.938 kB / 411.3 MB, free: 1.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/0.112, allocations: 6.388 MB / 417.7 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.736e-06/0.1121, allocations: 4 kB / 417.7 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.1121, allocations: 29.7 kB / 417.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.1145, allocations: 1.458 MB / 419.2 MB, free: 9.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.1146, allocations: 3.938 kB / 419.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1146, allocations: 0 / 419.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1146, allocations: 0 / 419.2 MB, free: 9.828 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.0009793/0.1156, allocations: 0.6122 MB / 419.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1156, allocations: 12.03 kB / 419.8 MB, free: 9.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.1156, allocations: 0 / 419.8 MB, free: 9.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1157, allocations: 166.9 kB / 420 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1158, allocations: 4 kB / 420 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.1158, allocations: 4 kB / 420 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.64e-05/0.1159, allocations: 37.69 kB / 420 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.1159, allocations: 0 / 420 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.1159, allocations: 0 / 420 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1159, allocations: 7.953 kB / 420 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.1159, allocations: 15.98 kB / 420 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.1161, allocations: 165.7 kB / 420.2 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.589e-05/0.1161, allocations: 34.52 kB / 420.2 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2/0.3162, allocations: 9.768 MB / 430 MB, free: 43.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.3162, allocations: 36.06 kB / 430 MB, free: 43.85 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/0.3163, allocations: 0 / 430 MB, free: 43.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002208/0.3165, allocations: 152.8 kB / 430.2 MB, free: 43.72 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.3165, allocations: 54.3 kB / 430.2 MB, free: 43.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.278e-05/0.3166, allocations: 95.83 kB / 430.3 MB, free: 43.56 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.3166, allocations: 25.7 kB / 430.3 MB, free: 43.53 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.547e-05/0.3166, allocations: 81.86 kB / 430.4 MB, free: 43.45 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.3166, allocations: 26.84 kB / 430.4 MB, free: 43.44 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-06/0.3166, allocations: 0 / 430.4 MB, free: 43.44 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.011e-05/0.3167, allocations: 317.5 kB / 430.8 MB, free: 43.13 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.3167, allocations: 11.78 kB / 430.8 MB, free: 43.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.3167, allocations: 12.61 kB / 430.8 MB, free: 43.13 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.503e-05/0.3168, allocations: 16.39 kB / 430.8 MB, free: 43.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3168, allocations: 1.562 kB / 430.8 MB, free: 43.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.998e-05/0.3168, allocations: 60.89 kB / 430.9 MB, free: 43.1 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3169, allocations: 8.031 kB / 430.9 MB, free: 43.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3169, allocations: 0 / 430.9 MB, free: 43.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3169, allocations: 3.406 kB / 430.9 MB, free: 43.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.3169, allocations: 0.6562 kB / 430.9 MB, free: 43.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.3169, allocations: 0 / 430.9 MB, free: 43.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.525e-05/0.3169, allocations: 12.92 kB / 430.9 MB, free: 43.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.3169, allocations: 1.906 kB / 430.9 MB, free: 43.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.317, allocations: 109.8 kB / 431 MB, free: 42.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.317, allocations: 6.5 kB / 431 MB, free: 42.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.3171, allocations: 173.2 kB / 431.2 MB, free: 42.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.3172, allocations: 181.5 kB / 431.3 MB, free: 42.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.398e-05/0.3172, allocations: 183 kB / 431.5 MB, free: 42.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.316e-05/0.3172, allocations: 186.9 kB / 431.7 MB, free: 42.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.3174, allocations: 411 kB / 432.1 MB, free: 41.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.3174, allocations: 106 kB / 432.2 MB, free: 41.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.319e-05/0.3174, allocations: 107.6 kB / 432.3 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/0.3174, allocations: 177.8 kB / 432.5 MB, free: 41.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.3174, allocations: 186.9 kB / 432.7 MB, free: 41.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.107e-05/0.3175, allocations: 177.7 kB / 432.8 MB, free: 41.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.308e-05/0.3175, allocations: 181.9 kB / 433 MB, free: 40.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.291e-05/0.3176, allocations: 317.9 kB / 433.3 MB, free: 40.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.3176, allocations: 188.4 kB / 433.5 MB, free: 40.37 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.3177, allocations: 187.7 kB / 433.7 MB, free: 40.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.3177, allocations: 102.1 kB / 433.8 MB, free: 40.08 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.3178, allocations: 183.8 kB / 434 MB, free: 39.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.3178, allocations: 102.1 kB / 434.1 MB, free: 39.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.723e-05/0.3178, allocations: 102.5 kB / 434.2 MB, free: 39.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3178, allocations: 2.719 kB / 434.2 MB, free: 39.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001492/0.3193, allocations: 0.5983 MB / 434.8 MB, free: 39.7 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 (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.002315/0.3217, allocations: 1.042 MB / 435.8 MB, free: 39.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.355e-05/0.3217, allocations: 17.38 kB / 435.8 MB, free: 39.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3218, allocations: 0 / 435.8 MB, free: 39.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.3218, allocations: 2 kB / 435.8 MB, free: 39.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.322, allocations: 0.5312 MB / 436.4 MB, free: 38.9 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.3222, allocations: 213.1 kB / 436.6 MB, free: 38.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.757e-05/0.3223, allocations: 0.6786 MB / 437.3 MB, free: 38.03 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.345e-05/0.3223, allocations: 7.875 kB / 437.3 MB, free: 38.03 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.636e-06/0.3224, allocations: 9.5 kB / 437.3 MB, free: 38.02 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3224, allocations: 1.031 kB / 437.3 MB, free: 38.02 MB / 318.1 MB Notification: Performance of Templates: time 0.02331/0.3457, allocations: 19.09 MB / 456.4 MB, free: 26.82 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: