Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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: 93.47 kB / 19.44 MB, free: 336 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.00188/0.00188, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.258 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.06053/0.06053, allocations: 7.509 MB / 267.1 MB, free: 5.906 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_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.306e-05, allocations: 2.312 kB / 337.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01712/0.01714, allocations: 16.89 MB / 354.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.0303, allocations: 9.772 MB / 364.6 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.03034, allocations: 0 / 364.6 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007259/0.03107, allocations: 223.3 kB / 364.8 MB, free: 380 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.03111, allocations: 19.91 kB / 364.8 MB, free: 360 kB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01346/0.04458, allocations: 5.35 MB / 370.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.04468, allocations: 47.67 kB / 370.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.04472, allocations: 4 kB / 370.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.04485, allocations: 39.78 kB / 370.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.84e-05/0.04489, allocations: 8 kB / 370.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.0449, allocations: 0 / 370.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01115/0.05605, allocations: 5.55 MB / 375.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.05607, allocations: 0 / 375.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.05611, allocations: 11.94 kB / 375.8 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007159/0.06326, allocations: 3.261 MB / 379.1 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.06327, allocations: 0 / 379.1 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.06327, allocations: 0 / 379.1 MB, free: 2.043 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.06327, allocations: 0 / 379.1 MB, free: 2.043 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.001373/0.06465, allocations: 0.7504 MB / 379.8 MB, free: 1.254 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.06469, allocations: 8.625 kB / 379.8 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.06473, allocations: 4 kB / 379.8 MB, free: 1.242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.06486, allocations: 104.1 kB / 379.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.06487, allocations: 0 / 379.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.06488, allocations: 3.938 kB / 379.9 MB, free: 1.109 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.065, allocations: 41.64 kB / 380 MB, free: 1.062 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.06501, allocations: 0 / 380 MB, free: 1.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.06502, allocations: 3.938 kB / 380 MB, free: 1.059 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.06502, allocations: 4 kB / 380 MB, free: 1.055 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.707e-05/0.06505, allocations: 7.984 kB / 380 MB, free: 1.047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.06526, allocations: 124.5 kB / 380.1 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.616e-05/0.06533, allocations: 31.06 kB / 380.1 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.06536, allocations: 11.72 kB / 380.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02318/0.08854, allocations: 4.159 MB / 384.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/0.08859, allocations: 41.31 kB / 384.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/0.08859, allocations: 0 / 384.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002317/0.08883, allocations: 49.7 kB / 384.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.08888, allocations: 51.41 kB / 384.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.08901, allocations: 157.9 kB / 384.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.08903, allocations: 25.7 kB / 384.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.08911, allocations: 130.9 kB / 384.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.08916, allocations: 23.8 kB / 384.8 MB, free: 12.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.08921, allocations: 23.53 kB / 384.8 MB, free: 12.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002679/0.08947, allocations: 0.4923 MB / 385.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.08949, allocations: 0 / 385.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.08951, allocations: 11.94 kB / 385.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.848e-05/0.08955, allocations: 27.92 kB / 385.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.08956, allocations: 0 / 385.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.059e-05/0.08965, allocations: 57.62 kB / 385.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.08967, allocations: 4 kB / 385.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.08967, allocations: 0 / 385.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.08969, allocations: 0 / 385.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.08969, allocations: 4 kB / 385.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.08969, allocations: 4.062 kB / 385.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.08971, allocations: 0 / 385.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.08972, allocations: 0 / 385.4 MB, free: 11.48 MB / 314.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.0001229/0.08984, allocations: 160.5 kB / 385.6 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.08985, allocations: 0 / 385.6 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.09011, allocations: 254.6 kB / 385.8 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001386/0.09025, allocations: 264.1 kB / 386.1 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001387/0.09039, allocations: 272 kB / 386.3 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001508/0.09054, allocations: 268.1 kB / 386.6 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.09092, allocations: 0.4997 MB / 387.1 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-05/0.091, allocations: 152.9 kB / 387.2 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-05/0.09108, allocations: 148.9 kB / 387.4 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/0.09122, allocations: 272 kB / 387.6 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.09136, allocations: 264.1 kB / 387.9 MB, free: 8.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001352/0.09149, allocations: 272.2 kB / 388.2 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001414/0.09163, allocations: 268.1 kB / 388.4 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.0919, allocations: 459.8 kB / 388.9 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.201e-05/0.092, allocations: 144.9 kB / 389 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.09215, allocations: 276 kB / 389.3 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.09227, allocations: 144.9 kB / 389.4 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.09242, allocations: 268.1 kB / 389.7 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000217/0.09263, allocations: 160.8 kB / 389.9 MB, free: 6.801 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.09274, allocations: 139.2 kB / 390 MB, free: 6.664 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09274, allocations: 0 / 390 MB, free: 6.664 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002016/0.09476, allocations: 0.7555 MB / 390.7 MB, free: 5.906 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.003326/0.09808, allocations: 1.41 MB / 392.2 MB, free: 4.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.896e-05/0.09818, allocations: 23.67 kB / 392.2 MB, free: 4.453 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.09818, allocations: 0 / 392.2 MB, free: 4.453 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.09819, allocations: 0 / 392.2 MB, free: 4.453 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007571/0.09894, allocations: 0.7407 MB / 392.9 MB, free: 3.711 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.09931, allocations: 261.3 kB / 393.2 MB, free: 3.426 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.76e-05/0.09938, allocations: 63.34 kB / 393.2 MB, free: 3.344 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.956e-05/0.0994, allocations: 0 / 393.2 MB, free: 3.344 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.09943, allocations: 12.5 kB / 393.2 MB, free: 3.332 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.09943, allocations: 0 / 393.2 MB, free: 3.332 MB / 314.7 MB Notification: Performance of Templates: time 0.1392/0.2386, allocations: 22.16 MB / 415.4 MB, free: 84.7 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.735877141938545]