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.001829/0.001829, allocations: 105.1 kB / 18.99 MB, free: 2.605 MB / 14.72 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.001612/0.001612, allocations: 214.8 kB / 22.29 MB, free: 5.305 MB / 14.72 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.492/1.492, allocations: 230.6 MB / 256.1 MB, free: 7.754 MB / 206.1 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.05383/0.05383, allocations: 9.127 MB / 321.6 MB, free: 10.17 MB / 254.1 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 0.002119/0.002119, allocations: 64.12 kB / 447.1 MB, free: 15.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.1015, allocations: 54.95 MB / 0.4903 GB, free: 8.934 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.02097/0.1224, allocations: 15.76 MB / 0.5057 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2367/0.3591, allocations: 12.55 MB / 0.5179 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.3592, allocations: 0 / 0.5179 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008941/0.3601, allocations: 338.8 kB / 0.5183 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003282/0.3634, allocations: 1.591 MB / 0.5198 GB, free: 7.508 MB / 382.1 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.01293/0.3763, allocations: 5.032 MB / 0.5247 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.3766, allocations: 144 kB / 0.5249 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.17e-05/0.3767, allocations: 9.703 kB / 0.5249 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3768, allocations: 69.95 kB / 0.5249 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.3769, allocations: 49.36 kB / 0.525 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.3769, allocations: 2.656 kB / 0.525 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/0.3917, allocations: 7.056 MB / 0.5319 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.335e-05/0.3917, allocations: 17.67 kB / 0.5319 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.3918, allocations: 50.16 kB / 0.5319 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008464/0.4003, allocations: 3.144 MB / 0.535 GB, free: 5.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4003, allocations: 5.281 kB / 0.535 GB, free: 5.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4003, allocations: 0 / 0.535 GB, free: 5.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.4003, allocations: 0 / 0.535 GB, free: 5.973 MB / 382.1 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.001878/0.4022, allocations: 0.7894 MB / 0.5358 GB, free: 5.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4022, allocations: 8.094 kB / 0.5358 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.4024, allocations: 21.14 kB / 0.5358 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.269e-05/0.4025, allocations: 123.7 kB / 0.5359 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.4025, allocations: 3.031 kB / 0.5359 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.4025, allocations: 6.875 kB / 0.5359 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.4028, allocations: 230.1 kB / 0.5362 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4028, allocations: 1.828 kB / 0.5362 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4028, allocations: 0 / 0.5362 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.4028, allocations: 8.984 kB / 0.5362 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.4032, allocations: 434.6 kB / 0.5366 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.4035, allocations: 248.7 kB / 0.5368 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.4037, allocations: 199.5 kB / 0.537 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.4038, allocations: 182.8 kB / 0.5372 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/0.4155, allocations: 2.795 MB / 0.5399 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.4155, allocations: 44.42 kB / 0.54 GB, free: 3.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.274e-06/0.4155, allocations: 0 / 0.54 GB, free: 3.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007552/0.4163, allocations: 0.603 MB / 0.5405 GB, free: 3.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.4163, allocations: 57.41 kB / 0.5406 GB, free: 3.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.62e-05/0.4163, allocations: 98.97 kB / 0.5407 GB, free: 3.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.4164, allocations: 26.89 kB / 0.5407 GB, free: 3.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.591e-05/0.4164, allocations: 83.92 kB / 0.5408 GB, free: 3.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/0.4165, allocations: 132.9 kB / 0.5409 GB, free: 3.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.4165, allocations: 44.12 kB / 0.541 GB, free: 3.426 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.4166, allocations: 324 kB / 0.5413 GB, free: 3.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.4167, allocations: 175.2 kB / 0.5414 GB, free: 3.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.4169, allocations: 174.8 kB / 0.5416 GB, free: 3.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.4172, allocations: 389.5 kB / 0.542 GB, free: 3.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4172, allocations: 0 / 0.542 GB, free: 3.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004273/0.4177, allocations: 433.8 kB / 0.5424 GB, free: 2.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4177, allocations: 13.14 kB / 0.5424 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.4177, allocations: 1.469 kB / 0.5424 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4177, allocations: 1.969 kB / 0.5424 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.4178, allocations: 16.8 kB / 0.5424 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4178, allocations: 0 / 0.5424 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.4179, allocations: 18.44 kB / 0.5424 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.4179, allocations: 10.98 kB / 0.5425 GB, free: 2.898 MB / 382.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 (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 6.588e-05/0.418, allocations: 120.8 kB / 0.5426 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.418, allocations: 9.922 kB / 0.5426 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004768/0.4185, allocations: 0.6416 MB / 0.5432 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4185, allocations: 0 / 0.5432 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4185, allocations: 2.5 kB / 0.5432 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4185, allocations: 0.8906 kB / 0.5432 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006839/0.4192, allocations: 0.8706 MB / 0.5441 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4192, allocations: 2.656 kB / 0.5441 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.8e-05/0.4192, allocations: 24.89 kB / 0.5441 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4192, allocations: 2.406 kB / 0.5441 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.4192, allocations: 8.781 kB / 0.5441 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4192, allocations: 2.969 kB / 0.5441 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4192, allocations: 2.75 kB / 0.5441 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.4195, allocations: 280.5 kB / 0.5444 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.301e-05/0.4195, allocations: 12.97 kB / 0.5444 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.4195, allocations: 16.17 kB / 0.5444 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.4196, allocations: 9.094 kB / 0.5444 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.4196, allocations: 20.66 kB / 0.5444 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.4196, allocations: 4.688 kB / 0.5444 GB, free: 1.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.4198, allocations: 178.5 kB / 0.5446 GB, free: 1.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4198, allocations: 0 / 0.5446 GB, free: 1.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002968/0.4227, allocations: 0.8108 MB / 0.5454 GB, free: 1.285 MB / 382.1 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.004381/0.4271, allocations: 1.383 MB / 0.5467 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003505/0.4275, allocations: 262.2 kB / 0.547 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4275, allocations: 1.375 kB / 0.547 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.4275, allocations: 83.02 kB / 0.5471 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.4281, allocations: 87.98 kB / 0.5472 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005197/0.4286, allocations: 409 kB / 0.5475 GB, free: 252 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.356e-05/0.4287, allocations: 99.17 kB / 0.5476 GB, free: 160 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.568e-05/0.4287, allocations: 17.25 kB / 0.5477 GB, free: 156 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.4288, allocations: 15.94 kB / 0.5477 GB, free: 148 kB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4288, allocations: 0 / 0.5477 GB, free: 148 kB / 382.1 MB Notification: Performance of Templates: time 0.04075/0.4695, allocations: 27.14 MB / 0.5742 GB, free: 6.969 MB / 414.1 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.112821731716394] Failed to read output from testmodel.py, exit status != 0: 0.47734674625098705 0.49267230799999995 0.089204085 Calling exit ...