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.0007177/0.0007177, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001082/0.001082, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8507/0.8507, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.0284/0.0284, allocations: 7.519 MB / 266.7 MB, free: 6.191 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: "" <> 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 2.234e-06/2.234e-06, allocations: 0 / 391.7 MB, free: 6.363 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.639e-05, allocations: 2.281 kB / 391.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01178/0.01179, allocations: 15.31 MB / 407 MB, free: 6.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005884/0.01768, allocations: 8.621 MB / 415.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.01771, allocations: 3.938 kB / 415.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.01814, allocations: 227.3 kB / 415.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.818e-05/0.01817, allocations: 27.83 kB / 415.9 MB, free: 14.08 MB / 394.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.006964/0.02513, allocations: 5.331 MB / 421.2 MB, free: 8.742 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.867e-05/0.0252, allocations: 55.66 kB / 421.3 MB, free: 8.688 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.277e-05/0.02523, allocations: 4 kB / 421.3 MB, free: 8.684 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.255e-05/0.02532, allocations: 43.72 kB / 421.3 MB, free: 8.641 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.559e-05/0.02534, allocations: 8 kB / 421.3 MB, free: 8.633 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.02535, allocations: 0 / 421.3 MB, free: 8.633 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005117/0.03047, allocations: 5.546 MB / 426.9 MB, free: 3.074 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.03048, allocations: 4 kB / 426.9 MB, free: 3.07 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.03051, allocations: 15.94 kB / 426.9 MB, free: 3.055 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003019/0.03353, allocations: 3.25 MB / 430.2 MB, free: 15.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.03353, allocations: 7.938 kB / 430.2 MB, free: 15.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.03353, allocations: 0 / 430.2 MB, free: 15.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.03354, allocations: 0 / 430.2 MB, free: 15.79 MB / 410.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.0007555/0.03429, allocations: 0.6353 MB / 430.8 MB, free: 15.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.03433, allocations: 8.625 kB / 430.8 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.03436, allocations: 42.48 kB / 430.9 MB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.027e-05/0.03438, allocations: 7.953 kB / 430.9 MB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.621e-05/0.03445, allocations: 105.2 kB / 431 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.03446, allocations: 7.938 kB / 431 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-06/0.03446, allocations: 3.938 kB / 431 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.11e-05/0.03454, allocations: 37.7 kB / 431 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.03455, allocations: 0 / 431 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.03456, allocations: 0 / 431 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.03456, allocations: 3.984 kB / 431 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.912e-05/0.03458, allocations: 15.94 kB / 431 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/0.0347, allocations: 132.8 kB / 431.2 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.904e-05/0.03474, allocations: 34.52 kB / 431.2 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.03476, allocations: 20.88 kB / 431.2 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009811/0.04457, allocations: 4.39 MB / 435.6 MB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.04459, allocations: 34.56 kB / 435.6 MB, free: 10.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.04459, allocations: 4 kB / 435.6 MB, free: 10.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001519/0.04474, allocations: 77.58 kB / 435.7 MB, free: 10.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.04477, allocations: 55.41 kB / 435.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.218e-05/0.04482, allocations: 101.8 kB / 435.9 MB, free: 9.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.04483, allocations: 25.7 kB / 435.9 MB, free: 9.879 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.082e-05/0.04485, allocations: 84.3 kB / 436 MB, free: 9.793 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.04488, allocations: 19.8 kB / 436 MB, free: 9.773 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.0449, allocations: 13.72 kB / 436 MB, free: 9.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.223e-05/0.04497, allocations: 322.8 kB / 436.3 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.04499, allocations: 8 kB / 436.3 MB, free: 9.422 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.045, allocations: 19.98 kB / 436.4 MB, free: 9.402 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/0.04503, allocations: 37.14 kB / 436.4 MB, free: 9.363 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.04503, allocations: 3.938 kB / 436.4 MB, free: 9.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.396e-05/0.04509, allocations: 65.69 kB / 436.5 MB, free: 9.289 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.0451, allocations: 4 kB / 436.5 MB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.0451, allocations: 0 / 436.5 MB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.04511, allocations: 4.062 kB / 436.5 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.04512, allocations: 0 / 436.5 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.04512, allocations: 0 / 436.5 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.335e-05/0.04513, allocations: 4 kB / 436.5 MB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.04514, allocations: 3.938 kB / 436.5 MB, free: 9.273 MB / 410.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 5.382e-05/0.0452, allocations: 113.8 kB / 436.6 MB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-06/0.0452, allocations: 7.953 kB / 436.6 MB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.04532, allocations: 170.9 kB / 436.8 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.753e-05/0.04535, allocations: 184.2 kB / 436.9 MB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.315e-05/0.0454, allocations: 180.3 kB / 437.1 MB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.859e-05/0.04544, allocations: 192.1 kB / 437.3 MB, free: 8.383 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.04558, allocations: 388.2 kB / 437.7 MB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.428e-05/0.0456, allocations: 104.9 kB / 437.8 MB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.148e-05/0.04562, allocations: 101 kB / 437.9 MB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.753e-05/0.04566, allocations: 180.3 kB / 438.1 MB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/0.0457, allocations: 180.2 kB / 438.2 MB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-05/0.04574, allocations: 180.2 kB / 438.4 MB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.922e-05/0.04578, allocations: 192.2 kB / 438.6 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.413e-05/0.04586, allocations: 303.9 kB / 438.9 MB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/0.04589, allocations: 109 kB / 439 MB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.04594, allocations: 188.3 kB / 439.2 MB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.858e-05/0.04599, allocations: 108.9 kB / 439.3 MB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.04603, allocations: 180.3 kB / 439.5 MB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.04606, allocations: 104.9 kB / 439.6 MB, free: 5.961 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.585e-05/0.0461, allocations: 103.3 kB / 439.7 MB, free: 5.859 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0461, allocations: 0 / 439.7 MB, free: 5.859 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009532/0.04706, allocations: 0.7593 MB / 440.4 MB, free: 5.098 MB / 410.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.002088/0.04914, allocations: 2.008 MB / 442.4 MB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.322e-05/0.04921, allocations: 16 kB / 442.5 MB, free: 3.043 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.04921, allocations: 4 kB / 442.5 MB, free: 3.039 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.04921, allocations: 0 / 442.5 MB, free: 3.039 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.04954, allocations: 486.2 kB / 442.9 MB, free: 2.562 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.05061, allocations: 1.714 MB / 444.7 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.511e-05/0.05064, allocations: 55.36 kB / 444.7 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.521e-05/0.05066, allocations: 0 / 444.7 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.05068, allocations: 20.48 kB / 444.7 MB, free: 0.668 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.05068, allocations: 0 / 444.7 MB, free: 0.668 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1525/0.2032, allocations: 24.18 MB / 468.9 MB, free: 88.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.98/7.183, allocations: 7.156 kB / 468.9 MB, free: 88.82 MB / 410.7 MB " [Timeout remaining time 653] (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: 8.797423327341676] Failed to read output from testmodel.py, exit status != 0: 7.275548757053912 7.283707023 7.248472344 Calling exit ...