Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.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.0008776/0.0008776, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0008976/0.0008976, allocations: 173.7 kB / 23.28 MB, free: 1.219 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 0.9338/0.9338, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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.05995/0.05995, allocations: 7.528 MB / 267.8 MB, free: 5.852 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_pT_parameter_Transport,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 3.938 kB / 339.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.798e-05, allocations: 6.25 kB / 339.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01379/0.01382, allocations: 17.14 MB / 356.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008945/0.02277, allocations: 13.98 MB / 370.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.02287, allocations: 0 / 370.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008263/0.0237, allocations: 351.6 kB / 370.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.02617, allocations: 1.597 MB / 372.1 MB, free: 10.59 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/Transport/thermalConductivity_dilute.mo:2:1-75:31:writable] Warning: Pure function 'HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.Medium.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.009432/0.0356, allocations: 5.12 MB / 377.3 MB, free: 5.449 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.0358, allocations: 155 kB / 377.4 MB, free: 5.297 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.03584, allocations: 5.312 kB / 377.4 MB, free: 5.293 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.03596, allocations: 87.67 kB / 377.5 MB, free: 5.207 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.609e-05/0.03601, allocations: 35.91 kB / 377.5 MB, free: 5.172 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.03602, allocations: 4 kB / 377.5 MB, free: 5.168 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009513/0.04553, allocations: 7.133 MB / 384.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.04556, allocations: 11.92 kB / 384.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.841e-05/0.04563, allocations: 35.92 kB / 384.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007546/0.05317, allocations: 3.635 MB / 388.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.05318, allocations: 0 / 388.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.05318, allocations: 0 / 388.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.05318, allocations: 0 / 388.4 MB, free: 10.33 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001267/0.05445, allocations: 0.8898 MB / 389.2 MB, free: 9.398 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.05449, allocations: 12.62 kB / 389.3 MB, free: 9.387 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.05461, allocations: 31.89 kB / 389.3 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.747e-05/0.05469, allocations: 119.9 kB / 389.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.0547, allocations: 4 kB / 389.4 MB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.05471, allocations: 11.94 kB / 389.4 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.05482, allocations: 94.58 kB / 389.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.05483, allocations: 0 / 389.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.05484, allocations: 0 / 389.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.05485, allocations: 11.98 kB / 389.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.05497, allocations: 148.8 kB / 389.7 MB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.05514, allocations: 183.1 kB / 389.8 MB, free: 8.738 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/0.05522, allocations: 87.38 kB / 389.9 MB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.05527, allocations: 76.25 kB / 390 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005181/0.06045, allocations: 2.337 MB / 392.3 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.06048, allocations: 45.38 kB / 392.4 MB, free: 6.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 2.675e-06/0.06049, allocations: 0 / 392.4 MB, free: 6.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003452/0.06083, allocations: 294.4 kB / 392.7 MB, free: 5.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.06086, allocations: 55.41 kB / 392.7 MB, free: 5.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.57e-05/0.06095, allocations: 157.9 kB / 392.9 MB, free: 5.668 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.06097, allocations: 29.7 kB / 392.9 MB, free: 5.633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.061, allocations: 131.7 kB / 393 MB, free: 5.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.727e-05/0.0611, allocations: 138.8 kB / 393.2 MB, free: 5.363 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.06115, allocations: 51.33 kB / 393.2 MB, free: 5.305 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.06128, allocations: 0.4962 MB / 393.7 MB, free: 4.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.371e-05/0.06132, allocations: 47.98 kB / 393.8 MB, free: 4.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.251e-05/0.06137, allocations: 51.88 kB / 393.8 MB, free: 4.699 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.06149, allocations: 150.2 kB / 394 MB, free: 4.547 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.06149, allocations: 0 / 394 MB, free: 4.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001796/0.06167, allocations: 224.2 kB / 394.2 MB, free: 4.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.06169, allocations: 4 kB / 394.2 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.06169, allocations: 0 / 394.2 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.0617, allocations: 4 kB / 394.2 MB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.06177, allocations: 19.98 kB / 394.2 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.06177, allocations: 0 / 394.2 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/0.0618, allocations: 19.77 kB / 394.2 MB, free: 4.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.06181, allocations: 4 kB / 394.2 MB, free: 4.273 MB / 362.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 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7.232e-05/0.06189, allocations: 156.6 kB / 394.4 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.0619, allocations: 19.91 kB / 394.4 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.06235, allocations: 0.6976 MB / 395.1 MB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.06236, allocations: 4 kB / 395.1 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.06236, allocations: 4 kB / 395.1 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.06236, allocations: 7.875 kB / 395.1 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.06279, allocations: 0.6768 MB / 395.8 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.0628, allocations: 0 / 395.8 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.06284, allocations: 27.92 kB / 395.8 MB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.06284, allocations: 4.344 kB / 395.8 MB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.06285, allocations: 8 kB / 395.8 MB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.06285, allocations: 4 kB / 395.8 MB, free: 2.449 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.06286, allocations: 4 kB / 395.8 MB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.06301, allocations: 213.1 kB / 396.1 MB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.06302, allocations: 8 kB / 396.1 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.06304, allocations: 23.83 kB / 396.1 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.06308, allocations: 4 kB / 396.1 MB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.06309, allocations: 23.86 kB / 396.1 MB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.0631, allocations: 4 kB / 396.1 MB, free: 2.109 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.891e-05/0.06318, allocations: 187.1 kB / 396.3 MB, free: 1.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06318, allocations: 0 / 396.3 MB, free: 1.926 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001588/0.06477, allocations: 0.8137 MB / 397.1 MB, free: 1.109 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.002589/0.06736, allocations: 1.52 MB / 398.6 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.06753, allocations: 123.5 kB / 398.8 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.06753, allocations: 0 / 398.8 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.355e-05/0.06756, allocations: 43.53 kB / 398.8 MB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.06792, allocations: 100.5 kB / 398.9 MB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.06855, allocations: 376 kB / 399.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.868e-05/0.06859, allocations: 63.84 kB / 399.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.635e-05/0.06865, allocations: 15.47 kB / 399.3 MB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.06876, allocations: 126.1 kB / 399.5 MB, free: 14.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.06876, allocations: 0 / 399.5 MB, free: 14.66 MB / 378.7 MB Notification: Performance of Templates: time 0.03061/0.09937, allocations: 32.35 MB / 431.8 MB, free: 14.42 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9077821718528867]