Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.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.0007749/0.0007749, 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.0009399/0.0009399, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.8916/0.8916, 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.02822/0.02822, allocations: 7.523 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.Validation.idealGasLimit,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.idealGasLimit,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 391.7 MB, free: 6.352 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.705e-05, allocations: 9.312 kB / 391.7 MB, free: 6.344 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01229/0.01231, allocations: 15.63 MB / 407.4 MB, free: 6.648 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005563/0.01787, allocations: 8.261 MB / 415.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.01792, allocations: 0 / 415.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006573/0.01858, allocations: 327.7 kB / 416 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006684/0.02526, allocations: 4.606 MB / 420.6 MB, free: 9.418 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.388e-05/0.02527, allocations: 3.938 kB / 420.6 MB, free: 9.414 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.02543, allocations: 151 kB / 420.7 MB, free: 9.266 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.02547, allocations: 5.312 kB / 420.7 MB, free: 9.258 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004255/0.0259, allocations: 91.61 kB / 420.8 MB, free: 9.168 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.474e-05/0.02595, allocations: 47.84 kB / 420.9 MB, free: 9.121 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.02596, allocations: 0 / 420.9 MB, free: 9.121 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005569/0.03153, allocations: 5.379 MB / 426.2 MB, free: 3.73 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.03155, allocations: 15.88 kB / 426.2 MB, free: 3.715 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.797e-05/0.0316, allocations: 35.91 kB / 426.3 MB, free: 3.68 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00328/0.03488, allocations: 3.16 MB / 429.4 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.03488, allocations: 0 / 429.4 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.03489, allocations: 4 kB / 429.4 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.03489, allocations: 0 / 429.4 MB, free: 0.5078 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008062/0.0357, allocations: 0.6377 MB / 430.1 MB, free: 15.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.03574, allocations: 16.5 kB / 430.1 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.03577, allocations: 46.55 kB / 430.1 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.813e-05/0.03586, allocations: 23.88 kB / 430.2 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.697e-05/0.03594, allocations: 117.1 kB / 430.3 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.03595, allocations: 7.984 kB / 430.3 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.03596, allocations: 7.938 kB / 430.3 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.03614, allocations: 190.6 kB / 430.5 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.03615, allocations: 4 kB / 430.5 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.03616, allocations: 4 kB / 430.5 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.03617, allocations: 7.984 kB / 430.5 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.03635, allocations: 256.2 kB / 430.8 MB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.03655, allocations: 265.8 kB / 431 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.03671, allocations: 190.8 kB / 431.2 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.619e-05/0.0368, allocations: 153.1 kB / 431.3 MB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004548/0.04135, allocations: 1.976 MB / 433.3 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.04138, allocations: 42.5 kB / 433.4 MB, free: 12.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.383e-06/0.04138, allocations: 0 / 433.4 MB, free: 12.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.0004338/0.04181, allocations: 0.4995 MB / 433.9 MB, free: 11.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.04184, allocations: 59.41 kB / 433.9 MB, free: 11.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.51e-05/0.04189, allocations: 97.86 kB / 434 MB, free: 11.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.0419, allocations: 29.7 kB / 434 MB, free: 11.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.682e-05/0.04193, allocations: 92.73 kB / 434.1 MB, free: 11.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.222e-05/0.04199, allocations: 130.7 kB / 434.3 MB, free: 11.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.04204, allocations: 41.7 kB / 434.3 MB, free: 11.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.04211, allocations: 322.8 kB / 434.6 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-05/0.0422, allocations: 128 kB / 434.7 MB, free: 10.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.04231, allocations: 146.6 kB / 434.9 MB, free: 10.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.04276, allocations: 287.2 kB / 435.2 MB, free: 10.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.04276, allocations: 4 kB / 435.2 MB, free: 10.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002452/0.043, allocations: 334.8 kB / 435.5 MB, free: 10.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.04302, allocations: 7.938 kB / 435.5 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.04303, allocations: 4 kB / 435.5 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.04304, allocations: 0 / 435.5 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/0.04312, allocations: 23.92 kB / 435.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.04313, allocations: 4 kB / 435.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.634e-05/0.04317, allocations: 19.78 kB / 435.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.04318, allocations: 8 kB / 435.6 MB, free: 10.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7.495e-05/0.04326, allocations: 121.8 kB / 435.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.04328, allocations: 15.84 kB / 435.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.04362, allocations: 381.2 kB / 436.1 MB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.04363, allocations: 7.984 kB / 436.1 MB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.04364, allocations: 0 / 436.1 MB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.04364, allocations: 0 / 436.1 MB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.04381, allocations: 261.1 kB / 436.3 MB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.04382, allocations: 0 / 436.3 MB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.04388, allocations: 20 kB / 436.4 MB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.04388, allocations: 7.922 kB / 436.4 MB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.04389, allocations: 4 kB / 436.4 MB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.04389, allocations: 4 kB / 436.4 MB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.04389, allocations: 0 / 436.4 MB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.04416, allocations: 449.6 kB / 436.8 MB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.0442, allocations: 31.94 kB / 436.8 MB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.04422, allocations: 15.88 kB / 436.9 MB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.261e-05/0.04427, allocations: 0 / 436.9 MB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.04429, allocations: 15.97 kB / 436.9 MB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.0443, allocations: 4 kB / 436.9 MB, free: 8.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.62e-05/0.04432, allocations: 79.28 kB / 437 MB, free: 8.691 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04432, allocations: 0 / 437 MB, free: 8.691 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007789/0.0451, allocations: 0.631 MB / 437.6 MB, free: 8.059 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002137/0.04724, allocations: 1.916 MB / 439.5 MB, free: 6.113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.04751, allocations: 309.5 kB / 439.8 MB, free: 5.805 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.04751, allocations: 0 / 439.8 MB, free: 5.805 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.04761, allocations: 169.6 kB / 440 MB, free: 5.633 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.04796, allocations: 79.28 kB / 440 MB, free: 5.559 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000928/0.04889, allocations: 0.6542 MB / 440.7 MB, free: 4.863 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.198e-05/0.04895, allocations: 102.6 kB / 440.8 MB, free: 4.742 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.495e-05/0.049, allocations: 28.53 kB / 440.8 MB, free: 4.715 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.04906, allocations: 40.48 kB / 440.9 MB, free: 4.672 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.04906, allocations: 0 / 440.9 MB, free: 4.672 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1697/0.2188, allocations: 28.24 MB / 469.1 MB, free: 86.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.481, allocations: 2.875 kB / 469.1 MB, free: 86.58 MB / 410.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit_fmu --startTime=0 --stopTime=200 --stepSize=0.08 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.509143504314125] Failed to read output from testmodel.py, exit status != 0: 7.5759274531155825 7.585039861 7.548418344 Calling exit ...