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.0008068/0.0008067, allocations: 90.75 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.0008705/0.0008705, allocations: 172.7 kB / 15.95 MB, free: 208 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.279/1.279, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04313/0.04313, allocations: 9.068 MB / 279.5 MB, free: 12.13 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.0004947/0.0004948, allocations: 16 kB / 339.1 MB, free: 25.96 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07016/0.07066, allocations: 49.19 MB / 388.3 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01557/0.08627, allocations: 15.61 MB / 403.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005341/0.09165, allocations: 5.48 MB / 409.4 MB, free: 3.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.09171, allocations: 0 / 409.4 MB, free: 3.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.09226, allocations: 227 kB / 409.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.774e-05/0.09231, allocations: 15.91 kB / 409.6 MB, free: 3.328 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008082/0.1004, allocations: 3.35 MB / 413 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.604e-05/0.1005, allocations: 51.69 kB / 413 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.1006, allocations: 3.938 kB / 413.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.321e-05/0.1006, allocations: 27.86 kB / 413.1 MB, free: 15.9 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.546e-05/0.1007, allocations: 7.938 kB / 413.1 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.522e-06/0.1007, allocations: 4 kB / 413.1 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008921/0.1096, allocations: 5.706 MB / 418.8 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.1097, allocations: 0 / 418.8 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.1097, allocations: 33.64 kB / 418.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002733/0.1125, allocations: 1.528 MB / 420.4 MB, free: 8.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1125, allocations: 3.938 kB / 420.4 MB, free: 8.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1125, allocations: 0 / 420.4 MB, free: 8.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.1125, allocations: 0 / 420.4 MB, free: 8.594 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.00108/0.1136, allocations: 0.6123 MB / 421 MB, free: 7.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1136, allocations: 8.031 kB / 421 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.1137, allocations: 8 kB / 421 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.893e-05/0.1138, allocations: 166.9 kB / 421.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.1138, allocations: 0 / 421.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-06/0.1138, allocations: 0 / 421.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.1139, allocations: 41.69 kB / 421.2 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.1139, allocations: 0 / 421.2 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.1139, allocations: 0 / 421.2 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1139, allocations: 3.953 kB / 421.2 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.497e-05/0.114, allocations: 16 kB / 421.2 MB, free: 7.648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.1141, allocations: 161.6 kB / 421.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.708e-05/0.1142, allocations: 34.52 kB / 421.4 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.432e-05/0.1142, allocations: 24.88 kB / 421.4 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1622/0.2764, allocations: 9.751 MB / 431.2 MB, free: 42.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.2764, allocations: 32.61 kB / 431.2 MB, free: 42.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.2765, allocations: 6.188 kB / 431.2 MB, free: 42.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001947/0.2767, allocations: 72.59 kB / 431.3 MB, free: 42.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.2767, allocations: 57.02 kB / 431.3 MB, free: 42.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.859e-05/0.2767, allocations: 96.59 kB / 431.4 MB, free: 42.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.2768, allocations: 25.7 kB / 431.5 MB, free: 42.51 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.559e-05/0.2768, allocations: 80.64 kB / 431.5 MB, free: 42.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.2768, allocations: 24.31 kB / 431.6 MB, free: 42.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-06/0.2768, allocations: 0 / 431.6 MB, free: 42.42 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.2769, allocations: 320.5 kB / 431.9 MB, free: 42.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.2769, allocations: 11.25 kB / 431.9 MB, free: 42.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.947e-05/0.2769, allocations: 11.19 kB / 431.9 MB, free: 42.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.609e-05/0.277, allocations: 14.77 kB / 431.9 MB, free: 42.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.277, allocations: 3.469 kB / 431.9 MB, free: 42.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.766e-05/0.2771, allocations: 61.61 kB / 432 MB, free: 42.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2771, allocations: 6.969 kB / 432 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2771, allocations: 5.391 kB / 432 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2771, allocations: 1.469 kB / 432 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.2771, allocations: 0 / 432 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.2771, allocations: 0 / 432 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.2772, allocations: 15.98 kB / 432 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.2772, allocations: 0 / 432 MB, free: 42.07 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 5.141e-05/0.2772, allocations: 113 kB / 432.1 MB, free: 41.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.2772, allocations: 2.594 kB / 432.1 MB, free: 41.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.2774, allocations: 173.3 kB / 432.3 MB, free: 41.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/0.2774, allocations: 182.5 kB / 432.5 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-05/0.2774, allocations: 178.1 kB / 432.6 MB, free: 41.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.45e-05/0.2775, allocations: 186.8 kB / 432.8 MB, free: 41.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.2776, allocations: 410.1 kB / 433.2 MB, free: 40.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/0.2776, allocations: 107.1 kB / 433.3 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/0.2777, allocations: 107.4 kB / 433.4 MB, free: 40.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.378e-05/0.2777, allocations: 181.6 kB / 433.6 MB, free: 40.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.2777, allocations: 180 kB / 433.8 MB, free: 40.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.383e-05/0.2777, allocations: 185.3 kB / 434 MB, free: 40.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.239e-05/0.2778, allocations: 179.8 kB / 434.1 MB, free: 39.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.342e-05/0.2778, allocations: 313 kB / 434.4 MB, free: 39.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.2779, allocations: 192.6 kB / 434.6 MB, free: 39.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.2779, allocations: 186.5 kB / 434.8 MB, free: 39.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.278, allocations: 103.4 kB / 434.9 MB, free: 39.06 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.2781, allocations: 179 kB / 435.1 MB, free: 38.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.2781, allocations: 111.3 kB / 435.2 MB, free: 38.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.788e-05/0.2782, allocations: 98.52 kB / 435.3 MB, free: 38.7 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2782, allocations: 0 / 435.3 MB, free: 38.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001769/0.2799, allocations: 0.5989 MB / 435.9 MB, free: 38.69 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.002865/0.2828, allocations: 1.028 MB / 436.9 MB, free: 38.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.816e-05/0.2829, allocations: 29.58 kB / 437 MB, free: 38.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2829, allocations: 0 / 437 MB, free: 38.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.995e-06/0.2829, allocations: 0.9688 kB / 437 MB, free: 38.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.2832, allocations: 0.5293 MB / 437.5 MB, free: 37.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.2835, allocations: 220.8 kB / 437.7 MB, free: 37.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.827e-05/0.2836, allocations: 0.6763 MB / 438.4 MB, free: 37.03 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.425e-05/0.2836, allocations: 2.188 kB / 438.4 MB, free: 37.03 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.2836, allocations: 11.66 kB / 438.4 MB, free: 37.02 MB / 318.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2836, allocations: 0 / 438.4 MB, free: 37.02 MB / 318.1 MB Notification: Performance of Templates: time 0.02653/0.3102, allocations: 19.09 MB / 457.5 MB, free: 25.62 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: