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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05899/0.05899, allocations: 7.5 MB / 267.1 MB, free: 6.047 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.604e-05, allocations: 2.312 kB / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.02491/0.02494, allocations: 16.95 MB / 354.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.03619, allocations: 5.822 MB / 360.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.03623, allocations: 4 kB / 360.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009264/0.03715, allocations: 227.8 kB / 360.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.755e-05/0.03723, allocations: 31.83 kB / 360.9 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01524/0.05247, allocations: 4.286 MB / 365.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.05261, allocations: 51.67 kB / 365.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.05265, allocations: 8 kB / 365.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.0528, allocations: 43.78 kB / 365.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.275e-05/0.05285, allocations: 8 kB / 365.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.05286, allocations: 0 / 365.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01309/0.06596, allocations: 4.696 MB / 370 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.06598, allocations: 3.938 kB / 370 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.06603, allocations: 11.94 kB / 370 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00755/0.07358, allocations: 2.727 MB / 372.8 MB, free: 8.371 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.07359, allocations: 0 / 372.8 MB, free: 8.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.07359, allocations: 0 / 372.8 MB, free: 8.371 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.0736, allocations: 0 / 372.8 MB, free: 8.371 MB / 298.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.001643/0.07524, allocations: 0.6612 MB / 373.4 MB, free: 7.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.839e-05/0.07531, allocations: 12.62 kB / 373.4 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.07537, allocations: 7.875 kB / 373.4 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.07554, allocations: 108.1 kB / 373.5 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.07556, allocations: 0 / 373.5 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.07557, allocations: 3.984 kB / 373.6 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.0757, allocations: 29.7 kB / 373.6 MB, free: 7.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.07572, allocations: 4 kB / 373.6 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.07573, allocations: 0 / 373.6 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.07574, allocations: 7.984 kB / 373.6 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.07578, allocations: 15.94 kB / 373.6 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.07604, allocations: 112.6 kB / 373.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.936e-05/0.07613, allocations: 35 kB / 373.8 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.07616, allocations: 11.72 kB / 373.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0241/0.1003, allocations: 2.844 MB / 376.6 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.1003, allocations: 37.39 kB / 376.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.1003, allocations: 0 / 376.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002563/0.1006, allocations: 61.58 kB / 376.7 MB, free: 4.281 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.1006, allocations: 55.34 kB / 376.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1008, allocations: 158 kB / 376.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.1008, allocations: 29.7 kB / 376.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.374e-05/0.1009, allocations: 126.9 kB / 377.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.101, allocations: 23.78 kB / 377.1 MB, free: 3.855 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/0.101, allocations: 23.38 kB / 377.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003734/0.1014, allocations: 496.1 kB / 377.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.1014, allocations: 4 kB / 377.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.615e-05/0.1015, allocations: 4 kB / 377.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.148e-05/0.1015, allocations: 31.91 kB / 377.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1015, allocations: 0 / 377.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001353/0.1017, allocations: 53.81 kB / 377.7 MB, free: 3.227 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.1017, allocations: 14.19 kB / 377.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1017, allocations: 0 / 377.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1017, allocations: 0 / 377.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.1017, allocations: 0 / 377.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1017, allocations: 3.938 kB / 377.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.149e-05/0.1017, allocations: 3.953 kB / 377.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1018, allocations: 4 kB / 377.7 MB, free: 3.203 MB / 298.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 0.0001562/0.1019, allocations: 156.6 kB / 377.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.1019, allocations: 0 / 377.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.1023, allocations: 246.7 kB / 378.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001895/0.1024, allocations: 272 kB / 378.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001965/0.1026, allocations: 272 kB / 378.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001872/0.1028, allocations: 272 kB / 378.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005477/0.1034, allocations: 0.4921 MB / 379.4 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001174/0.1035, allocations: 152.8 kB / 379.5 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.1036, allocations: 148.9 kB / 379.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001856/0.1038, allocations: 264.1 kB / 379.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/0.104, allocations: 272 kB / 380.2 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001798/0.1042, allocations: 264.1 kB / 380.5 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001916/0.1044, allocations: 272 kB / 380.7 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.1049, allocations: 448 kB / 381.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.105, allocations: 152.8 kB / 381.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.1052, allocations: 276 kB / 381.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.1054, allocations: 152.8 kB / 381.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/0.1056, allocations: 268.4 kB / 382 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.1057, allocations: 152.8 kB / 382.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.1058, allocations: 147.1 kB / 382.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1058, allocations: 4 kB / 382.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002237/0.1081, allocations: 0.6074 MB / 382.9 MB, free: 13.78 MB / 314.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.004099/0.1122, allocations: 1.153 MB / 384.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.1123, allocations: 15.69 kB / 384.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1123, allocations: 0 / 384.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.1123, allocations: 7.938 kB / 384.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.1135, allocations: 0.7454 MB / 384.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.1139, allocations: 245.3 kB / 385.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.801e-05/0.1139, allocations: 67.28 kB / 385.1 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.316e-05/0.114, allocations: 3.906 kB / 385.1 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.114, allocations: 16.5 kB / 385.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.114, allocations: 0 / 385.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of Templates: time 0.03352/0.1475, allocations: 19.81 MB / 405 MB, free: 7.676 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile [Timeout 660] (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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.5500262370333076]