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.001258/0.001258, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001589/0.001589, allocations: 213.8 kB / 22.24 MB, free: 5.262 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.347/1.347, allocations: 230.6 MB / 256 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.07329/0.07329, allocations: 9.134 MB / 321.6 MB, free: 10.2 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_ph_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ph_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 72.09 kB / 446.5 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.0994, allocations: 54.94 MB / 0.4897 GB, free: 9.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01842/0.1178, allocations: 15.34 MB / 0.5047 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009262/0.1271, allocations: 8.619 MB / 0.5131 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.1271, allocations: 0 / 0.5131 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005909/0.1277, allocations: 215.5 kB / 0.5133 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.763e-05/0.1277, allocations: 23.84 kB / 0.5133 GB, free: 1.27 MB / 382.1 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.2064/0.3341, allocations: 5.269 MB / 0.5185 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.966e-05/0.3342, allocations: 48.02 kB / 0.5185 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.3343, allocations: 2.703 kB / 0.5185 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.682e-05/0.3344, allocations: 32.3 kB / 0.5185 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.447e-05/0.3344, allocations: 13.89 kB / 0.5186 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.223e-06/0.3344, allocations: 0 / 0.5186 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009678/0.3441, allocations: 5.517 MB / 0.5239 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.3441, allocations: 2.562 kB / 0.5239 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.3441, allocations: 10.19 kB / 0.524 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006633/0.3508, allocations: 2.744 MB / 0.5266 GB, free: 8.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3508, allocations: 0 / 0.5266 GB, free: 8.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3508, allocations: 0 / 0.5266 GB, free: 8.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.3508, allocations: 1.594 kB / 0.5266 GB, free: 8.262 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.001608/0.3524, allocations: 0.6433 MB / 0.5273 GB, free: 7.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3524, allocations: 9.531 kB / 0.5273 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.431e-05/0.3525, allocations: 37.66 kB / 0.5273 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.3525, allocations: 1.281 kB / 0.5273 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.424e-05/0.3526, allocations: 111.4 kB / 0.5274 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3526, allocations: 0 / 0.5274 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.3526, allocations: 1.344 kB / 0.5274 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.643e-05/0.3527, allocations: 44.16 kB / 0.5275 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3527, allocations: 4.172 kB / 0.5275 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.3527, allocations: 2.188 kB / 0.5275 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.3527, allocations: 1.219 kB / 0.5275 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.619e-05/0.3527, allocations: 18.25 kB / 0.5275 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.3529, allocations: 125 kB / 0.5276 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.321e-05/0.3529, allocations: 33.64 kB / 0.5276 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.3529, allocations: 19.5 kB / 0.5277 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0197/0.3726, allocations: 4.406 MB / 0.532 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3727, allocations: 31.69 kB / 0.532 GB, free: 7.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.3727, allocations: 1.125 kB / 0.532 GB, free: 7.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001936/0.3729, allocations: 78.56 kB / 0.5321 GB, free: 7.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.3729, allocations: 51.41 kB / 0.5321 GB, free: 7.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.627e-05/0.3729, allocations: 96.97 kB / 0.5322 GB, free: 6.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.3729, allocations: 26.8 kB / 0.5322 GB, free: 6.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.346e-05/0.373, allocations: 80.14 kB / 0.5323 GB, free: 6.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.373, allocations: 25.83 kB / 0.5323 GB, free: 6.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.373, allocations: 16.92 kB / 0.5324 GB, free: 6.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.198e-05/0.3731, allocations: 315.3 kB / 0.5327 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.3731, allocations: 10.66 kB / 0.5327 GB, free: 6.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.749e-05/0.3731, allocations: 14.48 kB / 0.5327 GB, free: 6.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.3731, allocations: 36.33 kB / 0.5327 GB, free: 6.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3731, allocations: 0 / 0.5327 GB, free: 6.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.758e-05/0.3732, allocations: 76.05 kB / 0.5328 GB, free: 6.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3732, allocations: 9.141 kB / 0.5328 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3732, allocations: 1.219 kB / 0.5328 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3732, allocations: 0 / 0.5328 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.3732, allocations: 6.469 kB / 0.5328 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3732, allocations: 1.031 kB / 0.5328 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.3733, allocations: 5 kB / 0.5328 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3733, allocations: 0.8906 kB / 0.5328 GB, free: 6.445 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.448e-05/0.3733, allocations: 112.1 kB / 0.5329 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-06/0.3733, allocations: 2.469 kB / 0.5329 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.3734, allocations: 175.9 kB / 0.5331 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/0.3735, allocations: 180.5 kB / 0.5333 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-05/0.3735, allocations: 180.9 kB / 0.5334 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-05/0.3735, allocations: 180.9 kB / 0.5336 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.3736, allocations: 390.4 kB / 0.534 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.3736, allocations: 106 kB / 0.5341 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.3737, allocations: 102.2 kB / 0.5342 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.143e-05/0.3737, allocations: 185.2 kB / 0.5343 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.3737, allocations: 177.2 kB / 0.5345 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-05/0.3737, allocations: 184.8 kB / 0.5347 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.106e-05/0.3737, allocations: 178.5 kB / 0.5349 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.435e-05/0.3738, allocations: 319.1 kB / 0.5352 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.3738, allocations: 105.5 kB / 0.5353 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.3739, allocations: 183.3 kB / 0.5354 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.61e-05/0.3739, allocations: 105.7 kB / 0.5355 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.3739, allocations: 188.5 kB / 0.5357 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.374, allocations: 102 kB / 0.5358 GB, free: 3.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.565e-05/0.374, allocations: 105.4 kB / 0.5359 GB, free: 3.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.374, allocations: 0 / 0.5359 GB, free: 3.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002564/0.3766, allocations: 0.7547 MB / 0.5367 GB, free: 3.004 MB / 382.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.003376/0.3799, allocations: 1.912 MB / 0.5385 GB, free: 17.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.326e-05/0.38, allocations: 13.91 kB / 0.5385 GB, free: 17.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.38, allocations: 1.75 kB / 0.5385 GB, free: 17.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.38, allocations: 1.406 kB / 0.5385 GB, free: 17.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000617/0.3807, allocations: 490.5 kB / 0.539 GB, free: 17.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.3823, allocations: 1.721 MB / 0.5407 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.788e-05/0.3824, allocations: 60.12 kB / 0.5407 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.106e-05/0.3824, allocations: 1.781 kB / 0.5407 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.3824, allocations: 13.78 kB / 0.5408 GB, free: 15.85 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3824, allocations: 5.219 kB / 0.5408 GB, free: 15.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0595/0.4419, allocations: 23.94 MB / 0.5641 GB, free: 14.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.72, allocations: 9.781 kB / 0.5642 GB, free: 14.12 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.10147881694138] Failed to read output from testmodel.py, exit status != 0: 11.836135336663574 11.850379085 11.49664563 Calling exit ...