Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_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.001251/0.001251, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.001348/0.001348, allocations: 212.2 kB / 22.25 MB, free: 5.117 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.352/1.352, allocations: 230.6 MB / 256 MB, free: 7.793 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.0487/0.0487, allocations: 9.138 MB / 321.6 MB, free: 10.33 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: "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.89 kB / 446.5 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09958/0.1015, allocations: 54.94 MB / 0.4897 GB, free: 9.836 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01867/0.1202, allocations: 15.38 MB / 0.5047 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009915/0.1301, allocations: 9.281 MB / 0.5138 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.1301, allocations: 0 / 0.5138 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006567/0.1308, allocations: 227.5 kB / 0.514 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.712e-05/0.1308, allocations: 27.84 kB / 0.514 GB, free: 0.832 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232: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:1232:13-1232: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.2072/0.338, allocations: 5.956 MB / 0.5198 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.298e-05/0.3381, allocations: 50.55 kB / 0.5199 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.3382, allocations: 2.219 kB / 0.5199 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.476e-05/0.3383, allocations: 30.59 kB / 0.5199 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.946e-05/0.3383, allocations: 10.12 kB / 0.5199 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.274e-06/0.3383, allocations: 0.9844 kB / 0.5199 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/0.3494, allocations: 6.101 MB / 0.5259 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.3494, allocations: 2.641 kB / 0.5259 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.3494, allocations: 10.66 kB / 0.5259 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006153/0.3556, allocations: 3.045 MB / 0.5289 GB, free: 7.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3556, allocations: 1.438 kB / 0.5289 GB, free: 7.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3556, allocations: 0 / 0.5289 GB, free: 7.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3556, allocations: 0 / 0.5289 GB, free: 7.629 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001357/0.357, allocations: 0.6979 MB / 0.5296 GB, free: 7.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.357, allocations: 9.625 kB / 0.5296 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.344e-05/0.357, allocations: 33.39 kB / 0.5296 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.357, allocations: 5.375 kB / 0.5296 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.783e-05/0.3571, allocations: 107.3 kB / 0.5297 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.3571, allocations: 4.719 kB / 0.5297 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.3571, allocations: 2.062 kB / 0.5297 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.405e-05/0.3572, allocations: 40.42 kB / 0.5297 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3572, allocations: 0.8438 kB / 0.5298 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-06/0.3572, allocations: 0.5938 kB / 0.5298 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3572, allocations: 7.141 kB / 0.5298 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.034e-05/0.3573, allocations: 10.67 kB / 0.5298 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.3574, allocations: 144.5 kB / 0.5299 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.997e-05/0.3575, allocations: 38.61 kB / 0.5299 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.3575, allocations: 15.11 kB / 0.53 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04045/0.3979, allocations: 9.719 MB / 0.5394 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.3979, allocations: 32.75 kB / 0.5395 GB, free: 4.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.285e-06/0.3979, allocations: 4 kB / 0.5395 GB, free: 4.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001936/0.3981, allocations: 76.31 kB / 0.5396 GB, free: 4.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.3982, allocations: 54.88 kB / 0.5396 GB, free: 4.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.648e-05/0.3982, allocations: 93.84 kB / 0.5397 GB, free: 3.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-06/0.3982, allocations: 28.36 kB / 0.5397 GB, free: 3.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.466e-05/0.3982, allocations: 87.27 kB / 0.5398 GB, free: 3.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.3983, allocations: 24.2 kB / 0.5398 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.3983, allocations: 20.2 kB / 0.5399 GB, free: 3.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.939e-05/0.3983, allocations: 316.7 kB / 0.5402 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.3983, allocations: 9.969 kB / 0.5402 GB, free: 3.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.515e-05/0.3984, allocations: 19.95 kB / 0.5402 GB, free: 3.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.633e-05/0.3984, allocations: 31.48 kB / 0.5402 GB, free: 3.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3984, allocations: 0 / 0.5402 GB, free: 3.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.247e-05/0.3985, allocations: 71.92 kB / 0.5403 GB, free: 3.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3985, allocations: 2.75 kB / 0.5403 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3985, allocations: 3 kB / 0.5403 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3985, allocations: 0 / 0.5403 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.3985, allocations: 0 / 0.5403 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.3985, allocations: 3.984 kB / 0.5403 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.3985, allocations: 0 / 0.5403 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.3985, allocations: 13.62 kB / 0.5403 GB, free: 3.449 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 (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.376e-05/0.3986, allocations: 107.2 kB / 0.5404 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-06/0.3986, allocations: 6.484 kB / 0.5404 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.982e-05/0.3987, allocations: 173.8 kB / 0.5406 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/0.3987, allocations: 181.2 kB / 0.5407 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-05/0.3987, allocations: 179.3 kB / 0.5409 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/0.3987, allocations: 180.2 kB / 0.5411 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.3989, allocations: 387.2 kB / 0.5415 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.3989, allocations: 107.8 kB / 0.5416 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.203e-05/0.3989, allocations: 101 kB / 0.5417 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.982e-05/0.3989, allocations: 180.3 kB / 0.5418 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.3989, allocations: 194 kB / 0.542 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.912e-05/0.399, allocations: 176.3 kB / 0.5422 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-05/0.399, allocations: 187.7 kB / 0.5424 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.978e-05/0.399, allocations: 309.8 kB / 0.5427 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.3991, allocations: 111.8 kB / 0.5428 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.3991, allocations: 180.5 kB / 0.5429 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.526e-05/0.3991, allocations: 104.9 kB / 0.543 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.3992, allocations: 176.3 kB / 0.5432 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3992, allocations: 106.9 kB / 0.5433 GB, free: 240 kB / 382.1 MB Notification: Performance of sorting global known variables: time 4.082e-05/0.3992, allocations: 110.1 kB / 0.5434 GB, free: 152 kB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3992, allocations: 4 kB / 0.5434 GB, free: 148 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.002243/0.4015, allocations: 0.8769 MB / 0.5443 GB, free: 15.94 MB / 398.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.003463/0.4049, allocations: 2.064 MB / 0.5463 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.544e-05/0.405, allocations: 18.3 kB / 0.5463 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.405, allocations: 0 / 0.5463 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.405, allocations: 1.188 kB / 0.5463 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.4056, allocations: 493.6 kB / 0.5468 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.4072, allocations: 1.765 MB / 0.5485 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.568e-05/0.4073, allocations: 67.11 kB / 0.5486 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.882e-05/0.4073, allocations: 96 / 0.5486 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.4073, allocations: 17.41 kB / 0.5486 GB, free: 12.72 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.4073, allocations: 0 / 0.5486 GB, free: 12.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05991/0.4673, allocations: 25.66 MB / 0.5736 GB, free: 5.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.77, allocations: 6.375 kB / 0.5737 GB, free: 5.238 MB / 414.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.164769346360117] Failed to read output from testmodel.py, exit status != 0: 11.893429120071232 11.918322314 11.558231438 Calling exit ...