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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 102.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 207.6 MB / 229.8 MB, free: 4.266 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05017/0.05017, allocations: 9.147 MB / 290.8 MB, free: 7.312 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 71.89 kB / 405.8 MB, free: 0.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2696, allocations: 50.71 MB / 456.5 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.02047/0.2901, allocations: 17.28 MB / 473.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.301, allocations: 9.379 MB / 483.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.3012, allocations: 0 / 483.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.3024, allocations: 403.6 kB / 483.6 MB, free: 12.81 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.01304/0.3154, allocations: 4.552 MB / 488.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.921e-05/0.3154, allocations: 0 / 488.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.3157, allocations: 155 kB / 488.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.3158, allocations: 5.125 kB / 488.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.3159, allocations: 71.64 kB / 488.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.316, allocations: 43.73 kB / 488.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.316, allocations: 0 / 488.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01436/0.3304, allocations: 7.708 MB / 496.1 MB, free: 252 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.3304, allocations: 3.938 kB / 496.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.3306, allocations: 55.62 kB / 496.2 MB, free: 192 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.3412, allocations: 3.281 MB / 499.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.3412, allocations: 0 / 499.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3412, allocations: 0 / 499.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.3412, allocations: 0 / 499.5 MB, free: 12.9 MB / 366.1 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.001882/0.3431, allocations: 0.7223 MB / 0.4885 GB, free: 12.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.3431, allocations: 12.03 kB / 0.4885 GB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.3432, allocations: 42.55 kB / 0.4885 GB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.3433, allocations: 31.83 kB / 0.4885 GB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.3435, allocations: 171 kB / 0.4887 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.3435, allocations: 0 / 0.4887 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.3435, allocations: 8 kB / 0.4887 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.3438, allocations: 186.5 kB / 0.4889 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3439, allocations: 0 / 0.4889 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3439, allocations: 0 / 0.4889 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.3439, allocations: 11.98 kB / 0.4889 GB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.3442, allocations: 240.2 kB / 0.4891 GB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.3445, allocations: 298.6 kB / 0.4894 GB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.3448, allocations: 178.8 kB / 0.4896 GB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.345, allocations: 149.1 kB / 0.4897 GB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01177/0.3567, allocations: 4.259 MB / 0.4939 GB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.3568, allocations: 34.56 kB / 0.4939 GB, free: 5.824 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.814e-06/0.3568, allocations: 0 / 0.4939 GB, free: 5.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.0006867/0.3574, allocations: 490.1 kB / 0.4944 GB, free: 5.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.3575, allocations: 55.41 kB / 0.4944 GB, free: 5.273 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.463e-05/0.3576, allocations: 109.9 kB / 0.4945 GB, free: 5.156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3576, allocations: 29.64 kB / 0.4946 GB, free: 5.121 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.3577, allocations: 80.8 kB / 0.4946 GB, free: 5.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.3578, allocations: 130.8 kB / 0.4948 GB, free: 4.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.3578, allocations: 45.64 kB / 0.4948 GB, free: 4.859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.358, allocations: 326.8 kB / 0.4951 GB, free: 4.531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.3581, allocations: 116 kB / 0.4952 GB, free: 4.418 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.3583, allocations: 149.6 kB / 0.4954 GB, free: 4.266 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.3586, allocations: 280 kB / 0.4956 GB, free: 3.988 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3586, allocations: 3.938 kB / 0.4956 GB, free: 3.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004134/0.359, allocations: 318.6 kB / 0.4959 GB, free: 3.664 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.359, allocations: 4 kB / 0.496 GB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.3591, allocations: 4.047 kB / 0.496 GB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3591, allocations: 3.984 kB / 0.496 GB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3592, allocations: 23.98 kB / 0.496 GB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3592, allocations: 4.031 kB / 0.496 GB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.3593, allocations: 27.72 kB / 0.496 GB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.3593, allocations: 4 kB / 0.496 GB, free: 3.594 MB / 366.1 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 0.0001111/0.3594, allocations: 125.8 kB / 0.4961 GB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.3594, allocations: 11.91 kB / 0.4961 GB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005588/0.36, allocations: 376.1 kB / 0.4965 GB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.36, allocations: 7.984 kB / 0.4965 GB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.36, allocations: 4 kB / 0.4965 GB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.36, allocations: 0 / 0.4965 GB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.3603, allocations: 297.9 kB / 0.4968 GB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.3603, allocations: 4 kB / 0.4968 GB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.315e-05/0.3604, allocations: 16 kB / 0.4968 GB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3604, allocations: 0 / 0.4968 GB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.3604, allocations: 7.984 kB / 0.4968 GB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3604, allocations: 3.984 kB / 0.4968 GB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3604, allocations: 0 / 0.4968 GB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.3609, allocations: 432.8 kB / 0.4972 GB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.849e-05/0.361, allocations: 112.9 kB / 0.4974 GB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.361, allocations: 4 kB / 0.4974 GB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-05/0.3611, allocations: 4 kB / 0.4974 GB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.3611, allocations: 8 kB / 0.4974 GB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.3611, allocations: 7.984 kB / 0.4974 GB, free: 2.102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.088e-05/0.3612, allocations: 79.28 kB / 0.4975 GB, free: 2.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3612, allocations: 0 / 0.4975 GB, free: 2.023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001782/0.363, allocations: 0.627 MB / 0.4981 GB, free: 1.395 MB / 366.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 (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.003564/0.3665, allocations: 1.868 MB / 0.4999 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004479/0.367, allocations: 313.5 kB / 0.5002 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.367, allocations: 0 / 0.5002 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.3672, allocations: 165.6 kB / 0.5003 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.3677, allocations: 71.91 kB / 0.5004 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.3695, allocations: 0.6472 MB / 0.501 GB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.3698, allocations: 0.717 MB / 0.5017 GB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.3699, allocations: 20.38 kB / 0.5018 GB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.233e-05/0.37, allocations: 35.42 kB / 0.5018 GB, free: 13.46 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.37, allocations: 0 / 0.5018 GB, free: 13.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06307/0.4331, allocations: 27.23 MB / 0.5284 GB, free: 2.223 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.199/9.632, allocations: 7.891 kB / 0.5284 GB, free: 2.215 MB / 398.1 MB " [Timeout remaining time 650] (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 os._exit(0), Time elapsed: 12.001330630853772] Failed to read output from testmodel.py, exit status != 0: 9.719690268859267 9.741637483 9.395834239 Calling exit ...