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.001782/0.001782, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001663/0.001663, allocations: 215 kB / 20.13 MB, free: 2.949 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.36/1.36, allocations: 207.6 MB / 230.5 MB, free: 4.02 MB / 174.1 MB " [Timeout remaining time 179] 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.0488/0.0488, allocations: 9.156 MB / 291.5 MB, free: 7.176 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.002247/0.002247, allocations: 71.91 kB / 406.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2468, allocations: 50.72 MB / 457.3 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01971/0.2666, allocations: 17.28 MB / 474.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.2772, allocations: 9.365 MB / 483.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.2773, allocations: 4 kB / 483.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.2785, allocations: 407.6 kB / 484.3 MB, free: 12.79 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.01295/0.2914, allocations: 4.548 MB / 488.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.694e-05/0.2914, allocations: 8 kB / 488.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.2917, allocations: 143.1 kB / 489 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.184e-05/0.2918, allocations: 5.125 kB / 489 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.292, allocations: 67.66 kB / 489.1 MB, free: 8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.8e-05/0.2921, allocations: 47.72 kB / 489.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.2921, allocations: 0 / 489.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01393/0.306, allocations: 7.7 MB / 496.8 MB, free: 244 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.245e-05/0.306, allocations: 19.86 kB / 496.9 MB, free: 224 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.3062, allocations: 59.61 kB / 496.9 MB, free: 164 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008475/0.3146, allocations: 3.269 MB / 0.4885 GB, free: 12.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3146, allocations: 0 / 0.4885 GB, free: 12.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3146, allocations: 0 / 0.4885 GB, free: 12.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.3147, allocations: 0 / 0.4885 GB, free: 12.88 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.001651/0.3163, allocations: 0.7262 MB / 0.4892 GB, free: 12.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.3164, allocations: 12.03 kB / 0.4892 GB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.623e-05/0.3164, allocations: 4 kB / 0.4892 GB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.3164, allocations: 46.55 kB / 0.4892 GB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.3165, allocations: 27.84 kB / 0.4893 GB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.3167, allocations: 174.9 kB / 0.4894 GB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3167, allocations: 4 kB / 0.4894 GB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.3167, allocations: 7.938 kB / 0.4894 GB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.317, allocations: 186.6 kB / 0.4896 GB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.317, allocations: 3.984 kB / 0.4896 GB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.317, allocations: 4 kB / 0.4896 GB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.317, allocations: 3.938 kB / 0.4896 GB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.3173, allocations: 252.2 kB / 0.4899 GB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.3177, allocations: 298.6 kB / 0.4902 GB, free: 11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.3179, allocations: 174.8 kB / 0.4903 GB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.3181, allocations: 153.1 kB / 0.4905 GB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.329, allocations: 4.255 MB / 0.4946 GB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.329, allocations: 30.56 kB / 0.4947 GB, free: 5.789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 2.083e-06/0.3291, allocations: 4 kB / 0.4947 GB, free: 5.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.0006826/0.3297, allocations: 490.1 kB / 0.4951 GB, free: 5.301 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.3298, allocations: 55.41 kB / 0.4952 GB, free: 5.234 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.547e-05/0.3299, allocations: 105.7 kB / 0.4953 GB, free: 5.121 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.3299, allocations: 29.7 kB / 0.4953 GB, free: 5.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.3299, allocations: 80.8 kB / 0.4954 GB, free: 5.004 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.922e-05/0.33, allocations: 134.8 kB / 0.4955 GB, free: 4.871 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-05/0.3301, allocations: 45.66 kB / 0.4956 GB, free: 4.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3302, allocations: 330.8 kB / 0.4959 GB, free: 4.488 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.3304, allocations: 116 kB / 0.496 GB, free: 4.375 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.3305, allocations: 137.6 kB / 0.4961 GB, free: 4.234 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.3309, allocations: 280.1 kB / 0.4964 GB, free: 3.957 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.3309, allocations: 3.938 kB / 0.4964 GB, free: 3.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004123/0.3313, allocations: 318.6 kB / 0.4967 GB, free: 3.633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3313, allocations: 4 kB / 0.4967 GB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.3313, allocations: 8.016 kB / 0.4967 GB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3313, allocations: 4 kB / 0.4967 GB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3314, allocations: 19.94 kB / 0.4967 GB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.3314, allocations: 3.938 kB / 0.4967 GB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.3315, allocations: 23.78 kB / 0.4967 GB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.3315, allocations: 7.984 kB / 0.4968 GB, free: 3.562 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.0001128/0.3316, allocations: 121.8 kB / 0.4969 GB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.3317, allocations: 11.91 kB / 0.4969 GB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005458/0.3322, allocations: 380.1 kB / 0.4972 GB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.3322, allocations: 7.984 kB / 0.4973 GB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3322, allocations: 0 / 0.4973 GB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3323, allocations: 7.938 kB / 0.4973 GB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.3326, allocations: 293.9 kB / 0.4975 GB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.3326, allocations: 4 kB / 0.4975 GB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.573e-05/0.3327, allocations: 16 kB / 0.4976 GB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.3327, allocations: 7.984 kB / 0.4976 GB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3327, allocations: 0 / 0.4976 GB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3327, allocations: 0 / 0.4976 GB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3327, allocations: 4 kB / 0.4976 GB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/0.3332, allocations: 436.8 kB / 0.498 GB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.3333, allocations: 108.9 kB / 0.4981 GB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.3333, allocations: 8 kB / 0.4981 GB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.3334, allocations: 0 / 0.4981 GB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.3334, allocations: 11.98 kB / 0.4981 GB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.3334, allocations: 4 kB / 0.4981 GB, free: 2.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.833e-05/0.3335, allocations: 87.45 kB / 0.4982 GB, free: 1.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3335, allocations: 0 / 0.4982 GB, free: 1.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001849/0.3353, allocations: 0.6309 MB / 0.4988 GB, free: 1.352 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.003775/0.3391, allocations: 1.856 MB / 0.5006 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004562/0.3395, allocations: 301.5 kB / 0.5009 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3395, allocations: 0 / 0.5009 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.3397, allocations: 165.6 kB / 0.5011 GB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.3403, allocations: 77.25 kB / 0.5011 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.342, allocations: 0.6589 MB / 0.5018 GB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.3423, allocations: 0.7131 MB / 0.5025 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.636e-05/0.3424, allocations: 28.48 kB / 0.5025 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/0.3425, allocations: 35.42 kB / 0.5025 GB, free: 13.42 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3425, allocations: 0 / 0.5025 GB, free: 13.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05675/0.3992, allocations: 27.26 MB / 0.5292 GB, free: 2.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.848/9.248, allocations: 4.062 kB / 0.5292 GB, free: 2.16 MB / 398.1 MB " [Timeout remaining time 651] (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: 11.518820530967787] Failed to read output from testmodel.py, exit status != 0: 9.383935452031437 9.396741911 9.079271712 Calling exit ...