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.001324/0.001324, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001477/0.001477, allocations: 221.3 kB / 23.03 MB, free: 4.941 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.324/1.324, allocations: 207.7 MB / 233.9 MB, free: 9.785 MB / 190.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.05145/0.05145, allocations: 9.15 MB / 295.3 MB, free: 12.51 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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.idealGasLimit,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 75.19 kB / 411.8 MB, free: 46.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07377/0.07583, allocations: 50.76 MB / 462.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01857/0.0944, allocations: 15.59 MB / 478.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008618/0.103, allocations: 8.258 MB / 486.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.986e-05/0.1031, allocations: 0 / 486.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009022/0.104, allocations: 319.8 kB / 486.8 MB, free: 4.277 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.01118/0.1152, allocations: 4.576 MB / 491.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.778e-05/0.1152, allocations: 0 / 491.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.1154, allocations: 143.1 kB / 491.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.619e-05/0.1155, allocations: 9.312 kB / 491.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1156, allocations: 75.58 kB / 491.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/0.1157, allocations: 39.8 kB / 491.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1157, allocations: 4 kB / 491.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009341/0.125, allocations: 5.551 MB / 497.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.1251, allocations: 11.88 kB / 497.2 MB, free: 9.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.353e-05/0.1252, allocations: 43.78 kB / 497.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005826/0.131, allocations: 2.696 MB / 499.9 MB, free: 7.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.131, allocations: 0 / 499.9 MB, free: 7.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.131, allocations: 0 / 499.9 MB, free: 7.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.131, allocations: 0 / 499.9 MB, free: 7.098 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.001214/0.1322, allocations: 0.647 MB / 0.4888 GB, free: 6.418 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1322, allocations: 15.98 kB / 0.4888 GB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.212e-05/0.1323, allocations: 4 kB / 0.4888 GB, free: 6.398 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.1323, allocations: 46.55 kB / 0.4889 GB, free: 6.344 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.1324, allocations: 19.84 kB / 0.4889 GB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1325, allocations: 129 kB / 0.489 GB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1325, allocations: 8 kB / 0.489 GB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1326, allocations: 4 kB / 0.489 GB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.1328, allocations: 198.5 kB / 0.4892 GB, free: 5.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1329, allocations: 3.984 kB / 0.4892 GB, free: 5.953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1329, allocations: 4 kB / 0.4892 GB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.1329, allocations: 7.938 kB / 0.4892 GB, free: 5.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.1332, allocations: 252.2 kB / 0.4895 GB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.1335, allocations: 269.8 kB / 0.4897 GB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.1337, allocations: 182.8 kB / 0.4899 GB, free: 5.203 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.1338, allocations: 149.1 kB / 0.49 GB, free: 5.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01012/0.144, allocations: 2.003 MB / 0.492 GB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.144, allocations: 34.56 kB / 0.492 GB, free: 2.984 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 2.064e-06/0.144, allocations: 0 / 0.492 GB, free: 2.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.0006892/0.1447, allocations: 0.4977 MB / 0.4925 GB, free: 2.484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.1447, allocations: 51.41 kB / 0.4926 GB, free: 2.422 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.849e-05/0.1448, allocations: 101.8 kB / 0.4927 GB, free: 2.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1449, allocations: 33.7 kB / 0.4927 GB, free: 2.273 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.1449, allocations: 80.8 kB / 0.4928 GB, free: 2.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.145, allocations: 130.8 kB / 0.4929 GB, free: 2.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/0.1451, allocations: 45.66 kB / 0.4929 GB, free: 2.012 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1452, allocations: 330.8 kB / 0.4933 GB, free: 1.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.1454, allocations: 120 kB / 0.4934 GB, free: 1.562 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.1455, allocations: 153.5 kB / 0.4935 GB, free: 1.406 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.1459, allocations: 287.2 kB / 0.4938 GB, free: 1.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1459, allocations: 3.938 kB / 0.4938 GB, free: 1.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003981/0.1463, allocations: 326.8 kB / 0.4941 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1463, allocations: 4 kB / 0.4941 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.1463, allocations: 7.984 kB / 0.4941 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1463, allocations: 0 / 0.4941 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1464, allocations: 16 kB / 0.4941 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.1464, allocations: 4 kB / 0.4941 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.045e-05/0.1465, allocations: 27.81 kB / 0.4942 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.1465, allocations: 7.984 kB / 0.4942 GB, free: 0.7227 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.0001032/0.1466, allocations: 121.7 kB / 0.4943 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.1467, allocations: 11.91 kB / 0.4943 GB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00055/0.1472, allocations: 381.4 kB / 0.4947 GB, free: 204 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.1472, allocations: 11.97 kB / 0.4947 GB, free: 192 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1472, allocations: 3.938 kB / 0.4947 GB, free: 188 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1472, allocations: 4 kB / 0.4947 GB, free: 184 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.1475, allocations: 257.2 kB / 0.4949 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.1475, allocations: 11.98 kB / 0.4949 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.136e-05/0.1476, allocations: 16 kB / 0.495 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1476, allocations: 0 / 0.495 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1476, allocations: 8 kB / 0.495 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1476, allocations: 3.984 kB / 0.495 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1476, allocations: 0 / 0.495 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.1481, allocations: 441.8 kB / 0.4954 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.1482, allocations: 35.77 kB / 0.4954 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1482, allocations: 3.984 kB / 0.4954 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.58e-05/0.1483, allocations: 8 kB / 0.4954 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.1483, allocations: 11.98 kB / 0.4954 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.1483, allocations: 4 kB / 0.4955 GB, free: 15.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.264e-05/0.1483, allocations: 87.22 kB / 0.4955 GB, free: 15.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1483, allocations: 0 / 0.4955 GB, free: 15.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001684/0.15, allocations: 0.6231 MB / 0.4961 GB, free: 14.62 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 (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.003291/0.1533, allocations: 1.874 MB / 0.498 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004076/0.1537, allocations: 317.4 kB / 0.4983 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1537, allocations: 0 / 0.4983 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.1539, allocations: 165.6 kB / 0.4984 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.1544, allocations: 82.22 kB / 0.4985 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.1558, allocations: 0.6635 MB / 0.4992 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.932e-05/0.1559, allocations: 102.4 kB / 0.4993 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.286e-05/0.156, allocations: 20.36 kB / 0.4993 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.156, allocations: 43.36 kB / 0.4993 GB, free: 11.27 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.156, allocations: 4 kB / 0.4993 GB, free: 11.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2442/0.4003, allocations: 27.76 MB / 0.5264 GB, free: 71.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.18, allocations: 6.406 kB / 0.5264 GB, free: 71.91 MB / 398.1 MB " [Timeout remaining time 648] (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: 15.562959828064777] Failed to read output from testmodel.py, exit status != 0: 12.368419775972143 12.389541081 12.254466751 Calling exit ...