Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_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.0007502/0.0007502, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008027/0.0008027, allocations: 165.9 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.8676/0.8676, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.03065/0.03065, allocations: 7.514 MB / 266.7 MB, free: 6.199 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_pd_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pd_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pd_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pd_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 391.7 MB, free: 6.391 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.117e-06/1.057e-05, allocations: 2.281 kB / 391.7 MB, free: 6.387 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01221/0.01222, allocations: 15.38 MB / 407.1 MB, free: 6.949 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003431/0.01565, allocations: 5.14 MB / 412.2 MB, free: 1.793 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.01568, allocations: 0 / 412.2 MB, free: 1.793 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004444/0.01612, allocations: 247.7 kB / 412.5 MB, free: 1.551 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.812e-05/0.01615, allocations: 27.84 kB / 412.5 MB, free: 1.523 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006816/0.02297, allocations: 4.297 MB / 416.8 MB, free: 13.22 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.944e-05/0.02306, allocations: 59.67 kB / 416.9 MB, free: 13.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.0231, allocations: 0 / 416.9 MB, free: 13.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.729e-05/0.02318, allocations: 39.78 kB / 416.9 MB, free: 13.12 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.139e-05/0.02321, allocations: 12 kB / 416.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.02322, allocations: 0 / 416.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005405/0.02862, allocations: 4.7 MB / 421.6 MB, free: 8.398 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.02864, allocations: 3.938 kB / 421.6 MB, free: 8.395 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.02868, allocations: 8 kB / 421.6 MB, free: 8.387 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003789/0.03247, allocations: 2.72 MB / 424.3 MB, free: 5.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.03247, allocations: 0 / 424.3 MB, free: 5.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.03248, allocations: 4 kB / 424.4 MB, free: 5.656 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.03248, allocations: 0 / 424.4 MB, free: 5.656 MB / 394.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.0008187/0.0333, allocations: 0.5563 MB / 424.9 MB, free: 5.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.03334, allocations: 8.625 kB / 424.9 MB, free: 5.062 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.03338, allocations: 42.5 kB / 425 MB, free: 5.012 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.0334, allocations: 7.953 kB / 425 MB, free: 5.004 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.668e-05/0.03348, allocations: 105.2 kB / 425.1 MB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.03349, allocations: 7.938 kB / 425.1 MB, free: 4.867 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.0335, allocations: 0 / 425.1 MB, free: 4.867 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.822e-05/0.0336, allocations: 45.62 kB / 425.1 MB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.0336, allocations: 0 / 425.1 MB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.03361, allocations: 0 / 425.1 MB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.03362, allocations: 4 kB / 425.1 MB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.054e-05/0.03364, allocations: 11.94 kB / 425.1 MB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.03377, allocations: 136.8 kB / 425.3 MB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.484e-05/0.03382, allocations: 30.64 kB / 425.3 MB, free: 4.586 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.03384, allocations: 20.97 kB / 425.3 MB, free: 4.562 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007254/0.04109, allocations: 3.02 MB / 428.3 MB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.04112, allocations: 38.5 kB / 428.4 MB, free: 1.488 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.354e-06/0.04112, allocations: 4 kB / 428.4 MB, free: 1.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001683/0.04129, allocations: 77.61 kB / 428.5 MB, free: 1.402 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.04132, allocations: 51.41 kB / 428.5 MB, free: 1.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.185e-05/0.04137, allocations: 97.86 kB / 428.6 MB, free: 1.234 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.04138, allocations: 29.64 kB / 428.6 MB, free: 1.199 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.044e-05/0.0414, allocations: 80.14 kB / 428.7 MB, free: 1.117 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.04143, allocations: 23.78 kB / 428.7 MB, free: 1.094 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.04146, allocations: 17.72 kB / 428.7 MB, free: 1.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.04152, allocations: 310.8 kB / 429.1 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.04154, allocations: 16.14 kB / 429.1 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.201e-05/0.04155, allocations: 15.94 kB / 429.1 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.574e-05/0.04159, allocations: 45.14 kB / 429.1 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.04159, allocations: 0 / 429.1 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.323e-05/0.04164, allocations: 65.64 kB / 429.2 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.04166, allocations: 4 kB / 429.2 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.04166, allocations: 0 / 429.2 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.04167, allocations: 3.938 kB / 429.2 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.04167, allocations: 0 / 429.2 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.04168, allocations: 4 kB / 429.2 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.616e-05/0.04169, allocations: 0 / 429.2 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.0417, allocations: 4.062 kB / 429.2 MB, free: 0.5938 MB / 394.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.499e-05/0.04175, allocations: 109.8 kB / 429.3 MB, free: 488 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-06/0.04176, allocations: 0 / 429.3 MB, free: 488 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.04187, allocations: 182.9 kB / 429.5 MB, free: 280 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001608/0.04203, allocations: 180.2 kB / 429.7 MB, free: 92 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.446e-05/0.04209, allocations: 184.1 kB / 429.9 MB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-05/0.04212, allocations: 184.3 kB / 430 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.04226, allocations: 384.2 kB / 430.4 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/0.04228, allocations: 101 kB / 430.5 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.04231, allocations: 109 kB / 430.6 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.741e-05/0.04234, allocations: 184.2 kB / 430.8 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.04238, allocations: 180.3 kB / 431 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.935e-05/0.04242, allocations: 188.1 kB / 431.1 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-05/0.04246, allocations: 176.3 kB / 431.3 MB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.229e-05/0.04255, allocations: 315.7 kB / 431.6 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.04258, allocations: 104.9 kB / 431.7 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.04262, allocations: 188.2 kB / 431.9 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.126e-05/0.04268, allocations: 104.9 kB / 432 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.04272, allocations: 184.5 kB / 432.2 MB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.04274, allocations: 108.9 kB / 432.3 MB, free: 13.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.543e-05/0.04279, allocations: 99.27 kB / 432.4 MB, free: 13.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04279, allocations: 4 kB / 432.4 MB, free: 13.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001102/0.04389, allocations: 0.6075 MB / 433 MB, free: 12.57 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.00221/0.0461, allocations: 1.74 MB / 434.8 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.059e-05/0.04617, allocations: 20 kB / 434.8 MB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.04617, allocations: 4 kB / 434.8 MB, free: 10.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.04617, allocations: 0 / 434.8 MB, free: 10.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.04652, allocations: 495.7 kB / 435.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.04759, allocations: 1.633 MB / 436.9 MB, free: 8.574 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.753e-05/0.04762, allocations: 71.41 kB / 437 MB, free: 8.484 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.713e-05/0.04764, allocations: 0 / 437 MB, free: 8.484 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.04767, allocations: 12.5 kB / 437 MB, free: 8.473 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.04767, allocations: 0 / 437 MB, free: 8.473 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1586/0.2062, allocations: 21.82 MB / 458.8 MB, free: 84.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.96/7.166, allocations: 2.234 kB / 458.8 MB, free: 84.27 MB / 410.7 MB " [Timeout remaining time 653] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pd_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pd_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.802930410020053] Failed to read output from testmodel.py, exit status != 0: 7.252874676138163 7.259336318 7.225409736 Calling exit ...