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.001725/0.001725, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.001492/0.001492, allocations: 214.7 kB / 22.25 MB, free: 5.133 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.433/1.433, allocations: 207.6 MB / 233 MB, free: 9.996 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.05354/0.05354, allocations: 9.153 MB / 294.4 MB, free: 12.79 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="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.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.002236/0.002236, allocations: 82.45 kB / 411.1 MB, free: 46.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07427/0.07651, allocations: 50.75 MB / 461.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.02136/0.09787, allocations: 17.34 MB / 479.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.1091, allocations: 9.363 MB / 488.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.49e-05/0.1092, allocations: 7.938 kB / 488.5 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.1102, allocations: 403.6 kB / 488.9 MB, free: 1.539 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.01262/0.1229, allocations: 4.616 MB / 493.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.977e-05/0.1229, allocations: 4 kB / 493.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.1232, allocations: 151.1 kB / 493.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.1232, allocations: 9.312 kB / 493.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.1234, allocations: 59.67 kB / 493.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.831e-05/0.1235, allocations: 51.66 kB / 493.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1235, allocations: 4 kB / 493.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01599/0.1395, allocations: 8.02 MB / 0.4901 GB, free: 4.598 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.1395, allocations: 15.86 kB / 0.4901 GB, free: 4.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.1396, allocations: 51.67 kB / 0.4901 GB, free: 4.531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009589/0.1492, allocations: 3.281 MB / 0.4933 GB, free: 1.242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.1492, allocations: 7.984 kB / 0.4933 GB, free: 1.234 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1492, allocations: 0 / 0.4933 GB, free: 1.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.1492, allocations: 0 / 0.4933 GB, free: 1.234 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.001924/0.1512, allocations: 0.6509 MB / 0.494 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.1512, allocations: 15.98 kB / 0.494 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.311e-05/0.1513, allocations: 46.55 kB / 0.494 GB, free: 492 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.1514, allocations: 27.83 kB / 0.4941 GB, free: 464 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.1516, allocations: 117 kB / 0.4942 GB, free: 320 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.1516, allocations: 4 kB / 0.4942 GB, free: 316 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.1516, allocations: 4 kB / 0.4942 GB, free: 312 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.1519, allocations: 190.6 kB / 0.4944 GB, free: 112 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.152, allocations: 0 / 0.4944 GB, free: 112 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.152, allocations: 4 kB / 0.4944 GB, free: 108 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.152, allocations: 7.984 kB / 0.4944 GB, free: 100 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.1523, allocations: 256.2 kB / 0.4946 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.1527, allocations: 277.8 kB / 0.4949 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.153, allocations: 190.8 kB / 0.4951 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.1531, allocations: 149.1 kB / 0.4952 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/0.164, allocations: 2.003 MB / 0.4972 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.164, allocations: 30.56 kB / 0.4972 GB, free: 13.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.825e-06/0.164, allocations: 0 / 0.4972 GB, free: 13.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007698/0.1648, allocations: 0.5015 MB / 0.4977 GB, free: 12.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.1649, allocations: 55.41 kB / 0.4977 GB, free: 12.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.165, allocations: 109.8 kB / 0.4978 GB, free: 12.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.165, allocations: 29.7 kB / 0.4979 GB, free: 12.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.165, allocations: 80.8 kB / 0.4979 GB, free: 12.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.1651, allocations: 130.7 kB / 0.4981 GB, free: 12.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.159e-05/0.1652, allocations: 45.66 kB / 0.4981 GB, free: 12.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1654, allocations: 326.8 kB / 0.4984 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1655, allocations: 120 kB / 0.4985 GB, free: 11.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.1657, allocations: 157.5 kB / 0.4987 GB, free: 11.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.1661, allocations: 291.2 kB / 0.499 GB, free: 11.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1661, allocations: 0 / 0.499 GB, free: 11.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004345/0.1665, allocations: 326.8 kB / 0.4993 GB, free: 10.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1665, allocations: 4 kB / 0.4993 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.1666, allocations: 7.984 kB / 0.4993 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.1666, allocations: 0 / 0.4993 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1667, allocations: 23.97 kB / 0.4993 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.1667, allocations: 4 kB / 0.4993 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.642e-05/0.1668, allocations: 19.84 kB / 0.4993 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.1668, allocations: 7.984 kB / 0.4993 GB, free: 10.85 MB / 382.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.0001195/0.1669, allocations: 117.8 kB / 0.4995 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.167, allocations: 11.91 kB / 0.4995 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006125/0.1676, allocations: 381.2 kB / 0.4998 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.1676, allocations: 15.98 kB / 0.4998 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1676, allocations: 0 / 0.4998 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1676, allocations: 0 / 0.4998 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.1679, allocations: 277 kB / 0.5001 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.1679, allocations: 4 kB / 0.5001 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.409e-05/0.168, allocations: 16 kB / 0.5001 GB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.168, allocations: 3.984 kB / 0.5001 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.168, allocations: 4 kB / 0.5001 GB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.168, allocations: 0 / 0.5001 GB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.168, allocations: 0 / 0.5001 GB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/0.1685, allocations: 445.7 kB / 0.5006 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.1686, allocations: 35.81 kB / 0.5006 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.1686, allocations: 8 kB / 0.5006 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.1687, allocations: 0 / 0.5006 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.1688, allocations: 11.98 kB / 0.5006 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1688, allocations: 4 kB / 0.5006 GB, free: 9.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.965e-05/0.1688, allocations: 79.28 kB / 0.5007 GB, free: 9.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1688, allocations: 0 / 0.5007 GB, free: 9.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001837/0.1707, allocations: 0.6309 MB / 0.5013 GB, free: 8.754 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.004314/0.175, allocations: 1.882 MB / 0.5032 GB, free: 6.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004747/0.1754, allocations: 309.5 kB / 0.5034 GB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1754, allocations: 0 / 0.5034 GB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.1757, allocations: 173.6 kB / 0.5036 GB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.1762, allocations: 74.36 kB / 0.5037 GB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.1781, allocations: 0.6634 MB / 0.5043 GB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.1784, allocations: 0.7208 MB / 0.505 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.259e-05/0.1785, allocations: 20.42 kB / 0.5051 GB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/0.1786, allocations: 39.36 kB / 0.5051 GB, free: 4.781 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1786, allocations: 0 / 0.5051 GB, free: 4.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2527/0.4313, allocations: 27.54 MB / 0.532 GB, free: 54.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.65, allocations: 4.625 kB / 0.532 GB, free: 54.63 MB / 398.1 MB " [Timeout remaining time 647] (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.643325777025893] Failed to read output from testmodel.py, exit status != 0: 12.770678008906543 12.785003622 12.632796055 Calling exit ...