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.001233/0.001233, 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.001475/0.001475, allocations: 212.9 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 7.797 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.05014/0.05014, allocations: 9.139 MB / 321.6 MB, free: 10.21 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_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 0.002064/0.002064, allocations: 63.89 kB / 446.5 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1022, allocations: 54.94 MB / 0.4897 GB, free: 9.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.02059/0.1228, allocations: 15.4 MB / 0.5047 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005922/0.1287, allocations: 5.148 MB / 0.5098 GB, free: 4.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.1288, allocations: 0 / 0.5098 GB, free: 4.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006073/0.1294, allocations: 235.8 kB / 0.51 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.667e-05/0.1294, allocations: 27.84 kB / 0.51 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009713/0.1391, allocations: 4.241 MB / 0.5142 GB, free: 420 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.515e-05/0.1392, allocations: 51.73 kB / 0.5142 GB, free: 368 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.1393, allocations: 7.938 kB / 0.5142 GB, free: 360 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.941e-05/0.1394, allocations: 31.86 kB / 0.5142 GB, free: 328 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.102e-05/0.1394, allocations: 11.94 kB / 0.5143 GB, free: 316 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.283e-06/0.1394, allocations: 0 / 0.5143 GB, free: 316 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1918/0.3312, allocations: 4.665 MB / 0.5188 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.3312, allocations: 0 / 0.5188 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.3313, allocations: 13.8 kB / 0.5188 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004106/0.3354, allocations: 2.301 MB / 0.5211 GB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3354, allocations: 1.75 kB / 0.5211 GB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3354, allocations: 0 / 0.5211 GB, free: 10.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.3354, allocations: 1.156 kB / 0.5211 GB, free: 10.7 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.001035/0.3364, allocations: 0.5504 MB / 0.5216 GB, free: 10.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3365, allocations: 10.25 kB / 0.5216 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.342e-05/0.3365, allocations: 37.55 kB / 0.5217 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.3365, allocations: 10.5 kB / 0.5217 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.034e-05/0.3366, allocations: 105.1 kB / 0.5218 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-06/0.3366, allocations: 0 / 0.5218 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.3366, allocations: 0.8125 kB / 0.5218 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.505e-05/0.3367, allocations: 44.48 kB / 0.5218 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3367, allocations: 3.938 kB / 0.5218 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.3367, allocations: 0.6094 kB / 0.5218 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3367, allocations: 2.578 kB / 0.5218 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.42e-05/0.3367, allocations: 11.38 kB / 0.5218 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.3368, allocations: 136.5 kB / 0.522 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.163e-05/0.3369, allocations: 30.94 kB / 0.522 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.3369, allocations: 20.16 kB / 0.522 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01407/0.351, allocations: 3.025 MB / 0.525 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.351, allocations: 34.53 kB / 0.525 GB, free: 9.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.351, allocations: 3.375 kB / 0.525 GB, free: 9.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001796/0.3512, allocations: 86.66 kB / 0.5251 GB, free: 9.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.3512, allocations: 53.34 kB / 0.5251 GB, free: 9.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.402e-05/0.3512, allocations: 98.52 kB / 0.5252 GB, free: 9.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.65e-06/0.3512, allocations: 25.7 kB / 0.5252 GB, free: 9.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.371e-05/0.3512, allocations: 82.05 kB / 0.5253 GB, free: 9.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.3513, allocations: 24.55 kB / 0.5253 GB, free: 9.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.3513, allocations: 16.91 kB / 0.5254 GB, free: 9.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.843e-05/0.3513, allocations: 314.5 kB / 0.5257 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.3514, allocations: 14.64 kB / 0.5257 GB, free: 9.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.3514, allocations: 9.906 kB / 0.5257 GB, free: 9.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.3514, allocations: 37.44 kB / 0.5257 GB, free: 9.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3514, allocations: 0 / 0.5257 GB, free: 9.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.722e-05/0.3515, allocations: 65.95 kB / 0.5258 GB, free: 9.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3515, allocations: 9.406 kB / 0.5258 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3515, allocations: 1.734 kB / 0.5258 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3515, allocations: 0 / 0.5258 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.3515, allocations: 0 / 0.5258 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3515, allocations: 1.703 kB / 0.5258 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.209e-05/0.3515, allocations: 5.531 kB / 0.5258 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.3516, allocations: 0 / 0.5258 GB, free: 9.07 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.465e-05/0.3516, allocations: 116.2 kB / 0.5259 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-06/0.3516, allocations: 10.11 kB / 0.5259 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.939e-05/0.3517, allocations: 169.4 kB / 0.5261 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/0.3517, allocations: 187.7 kB / 0.5263 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.421e-05/0.3518, allocations: 182.2 kB / 0.5264 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/0.3518, allocations: 180.5 kB / 0.5266 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.3519, allocations: 380.6 kB / 0.527 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.3519, allocations: 108.5 kB / 0.5271 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.444e-05/0.3519, allocations: 111.7 kB / 0.5272 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.981e-05/0.3519, allocations: 179.4 kB / 0.5274 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.352, allocations: 182.5 kB / 0.5275 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.905e-05/0.352, allocations: 180.7 kB / 0.5277 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.986e-05/0.352, allocations: 179.9 kB / 0.5279 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.778e-05/0.3521, allocations: 310.6 kB / 0.5282 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.3521, allocations: 112.3 kB / 0.5283 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.3521, allocations: 184.5 kB / 0.5285 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.3522, allocations: 105.3 kB / 0.5286 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.3522, allocations: 182.5 kB / 0.5287 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.3522, allocations: 102.3 kB / 0.5288 GB, free: 5.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.082e-05/0.3523, allocations: 100.5 kB / 0.5289 GB, free: 5.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3523, allocations: 0 / 0.5289 GB, free: 5.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001789/0.354, allocations: 0.6115 MB / 0.5295 GB, free: 5.711 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.002334/0.3564, allocations: 1.686 MB / 0.5312 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.87e-05/0.3564, allocations: 14.44 kB / 0.5312 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3564, allocations: 5.125 kB / 0.5312 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.073e-06/0.3565, allocations: 2.062 kB / 0.5312 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.3568, allocations: 489.2 kB / 0.5316 GB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.3583, allocations: 1.638 MB / 0.5332 GB, free: 18.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.588e-05/0.3584, allocations: 61.03 kB / 0.5333 GB, free: 18.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.184e-05/0.3584, allocations: 5.969 kB / 0.5333 GB, free: 18.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.3584, allocations: 10.19 kB / 0.5333 GB, free: 18.8 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3584, allocations: 0 / 0.5333 GB, free: 18.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0536/0.412, allocations: 21.6 MB / 0.5544 GB, free: 8.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.58, allocations: 13.81 kB / 0.5544 GB, free: 8.688 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.005765370093286] Failed to read output from testmodel.py, exit status != 0: 11.700015591923147 11.72350747 11.383546822 Calling exit ...