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.001002/0.001002, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001003/0.001003, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.215/1.215, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04142/0.04142, allocations: 9.082 MB / 278.5 MB, free: 12.34 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.001271/0.001271, allocations: 67.91 kB / 337.5 MB, free: 25.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07091/0.0722, allocations: 48.17 MB / 385.7 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01652/0.08875, allocations: 16.88 MB / 402.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005189/0.09397, allocations: 5.799 MB / 408.4 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.0941, allocations: 8 kB / 408.4 MB, free: 2.789 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.09471, allocations: 256.1 kB / 408.6 MB, free: 2.539 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.403e-05/0.09475, allocations: 27.78 kB / 408.7 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008229/0.103, allocations: 3.753 MB / 412.4 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.951e-05/0.1031, allocations: 51.67 kB / 412.5 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.575e-05/0.1031, allocations: 7.984 kB / 412.5 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.624e-05/0.1032, allocations: 31.81 kB / 412.5 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.901e-05/0.1032, allocations: 7.938 kB / 412.5 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.662e-06/0.1032, allocations: 0 / 412.5 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008427/0.1117, allocations: 6.759 MB / 419.3 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.1117, allocations: 4 kB / 419.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.1118, allocations: 7.938 kB / 419.3 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004494/0.1163, allocations: 2.861 MB / 422.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1163, allocations: 0 / 422.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1163, allocations: 0 / 422.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1163, allocations: 0 / 422.1 MB, free: 5.008 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.0009066/0.1172, allocations: 0.6201 MB / 422.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1173, allocations: 8.031 kB / 422.8 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.1173, allocations: 11.84 kB / 422.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1174, allocations: 159.1 kB / 422.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-06/0.1174, allocations: 0 / 422.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.1174, allocations: 0 / 422.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.512e-05/0.1175, allocations: 41.69 kB / 423 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1176, allocations: 0 / 423 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.1176, allocations: 7.875 kB / 423 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.1176, allocations: 8 kB / 423 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.678e-05/0.1176, allocations: 19.92 kB / 423 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.1178, allocations: 157.7 kB / 423.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.769e-05/0.1178, allocations: 34.56 kB / 423.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.1179, allocations: 16.89 kB / 423.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1479/0.2657, allocations: 9.949 MB / 433.2 MB, free: 41.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.2658, allocations: 35.59 kB / 433.2 MB, free: 41.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.2658, allocations: 0 / 433.2 MB, free: 41.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002116/0.266, allocations: 79.08 kB / 433.3 MB, free: 41.78 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.266, allocations: 51.97 kB / 433.3 MB, free: 41.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.273e-05/0.2661, allocations: 99.5 kB / 433.4 MB, free: 41.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.2661, allocations: 25.7 kB / 433.4 MB, free: 41.58 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.633e-05/0.2661, allocations: 81.8 kB / 433.5 MB, free: 41.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.2662, allocations: 19.88 kB / 433.5 MB, free: 41.49 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.2662, allocations: 19.16 kB / 433.6 MB, free: 41.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.868e-05/0.2663, allocations: 316 kB / 433.9 MB, free: 41.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.2663, allocations: 13.19 kB / 433.9 MB, free: 41.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/0.2663, allocations: 16.14 kB / 433.9 MB, free: 41.15 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/0.2664, allocations: 29.94 kB / 433.9 MB, free: 41.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2664, allocations: 0 / 433.9 MB, free: 41.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.22e-05/0.2664, allocations: 70.8 kB / 434 MB, free: 41.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.2665, allocations: 9.031 kB / 434 MB, free: 41.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2665, allocations: 0 / 434 MB, free: 41.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2665, allocations: 1.062 kB / 434 MB, free: 41.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.2665, allocations: 1.812 kB / 434 MB, free: 41.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2665, allocations: 1.922 kB / 434 MB, free: 41.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.2665, allocations: 5.734 kB / 434 MB, free: 41.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.2665, allocations: 1.062 kB / 434 MB, free: 41.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.2666, allocations: 114.8 kB / 434.1 MB, free: 40.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.2666, allocations: 2.781 kB / 434.1 MB, free: 40.97 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.2667, allocations: 170.8 kB / 434.3 MB, free: 40.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.2667, allocations: 180.8 kB / 434.5 MB, free: 40.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.152e-05/0.2668, allocations: 184.5 kB / 434.7 MB, free: 40.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/0.2668, allocations: 177.9 kB / 434.8 MB, free: 40.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.2669, allocations: 424.3 kB / 435.2 MB, free: 39.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.267, allocations: 102.6 kB / 435.3 MB, free: 39.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.457e-05/0.267, allocations: 107 kB / 435.5 MB, free: 39.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.986e-05/0.267, allocations: 178.1 kB / 435.6 MB, free: 39.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.267, allocations: 176.9 kB / 435.8 MB, free: 39.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.143e-05/0.2671, allocations: 186.3 kB / 436 MB, free: 39.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-05/0.2671, allocations: 177.9 kB / 436.2 MB, free: 38.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.196e-05/0.2671, allocations: 314 kB / 436.5 MB, free: 38.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.2672, allocations: 182.1 kB / 436.6 MB, free: 38.33 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.2672, allocations: 191.4 kB / 436.8 MB, free: 38.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.629e-05/0.2673, allocations: 106.7 kB / 436.9 MB, free: 38.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.2673, allocations: 182.9 kB / 437.1 MB, free: 37.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.2673, allocations: 101.6 kB / 437.2 MB, free: 37.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.647e-05/0.2674, allocations: 101.5 kB / 437.3 MB, free: 37.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2674, allocations: 0 / 437.3 MB, free: 37.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001452/0.2689, allocations: 0.5974 MB / 437.9 MB, free: 37.63 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.002391/0.2713, allocations: 1.038 MB / 438.9 MB, free: 37.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.857e-05/0.2713, allocations: 17.25 kB / 439 MB, free: 37.33 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2714, allocations: 0 / 439 MB, free: 37.33 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.2714, allocations: 1.531 kB / 439 MB, free: 37.33 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.2718, allocations: 498.2 kB / 439.4 MB, free: 36.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.2721, allocations: 207.4 kB / 439.7 MB, free: 36.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.121e-05/0.2722, allocations: 0.6812 MB / 440.3 MB, free: 35.98 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.194e-05/0.2722, allocations: 3.703 kB / 440.3 MB, free: 35.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.087e-05/0.2722, allocations: 11.56 kB / 440.3 MB, free: 35.98 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2722, allocations: 0 / 440.3 MB, free: 35.98 MB / 318.1 MB Notification: Performance of Templates: time 0.02143/0.2937, allocations: 19.57 MB / 459.9 MB, free: 22.95 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)