Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001535/0.001535, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001927/0.001927, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 60.77 kB / 378.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2438, allocations: 53.37 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002444/0.2463, allocations: 1.37 MB / 433.3 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.2604, allocations: 12.22 MB / 445.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.2605, allocations: 3.938 kB / 445.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.2605, allocations: 11.92 kB / 445.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.2637, allocations: 1.041 MB / 446.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.2654, allocations: 0.6386 MB / 447.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.2656, allocations: 67.64 kB / 447.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.2656, allocations: 4 kB / 447.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.407e-05/0.2656, allocations: 27.92 kB / 447.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.261e-05/0.2657, allocations: 31.89 kB / 447.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.2658, allocations: 4 kB / 447.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.2691, allocations: 1.651 MB / 449 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.2691, allocations: 15.91 kB / 449 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.2691, allocations: 23.88 kB / 449 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.2712, allocations: 1.079 MB / 450.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2712, allocations: 0 / 450.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2712, allocations: 0 / 450.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.2712, allocations: 4 kB / 450.1 MB, free: 4.648 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000787/0.272, allocations: 492.2 kB / 450.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.272, allocations: 8.031 kB / 450.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.2721, allocations: 34.75 kB / 450.6 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.2722, allocations: 8.891 kB / 450.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.2723, allocations: 118.5 kB / 450.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.2724, allocations: 384 / 450.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.2724, allocations: 4.375 kB / 450.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.2726, allocations: 75.27 kB / 450.8 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2726, allocations: 0 / 450.8 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2726, allocations: 0 / 450.8 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2726, allocations: 0 / 450.8 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.2727, allocations: 27.97 kB / 450.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.2729, allocations: 149.6 kB / 451 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.2732, allocations: 81.12 kB / 451.1 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.514e-05/0.2732, allocations: 21.72 kB / 451.1 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005654/0.2789, allocations: 1.513 MB / 452.6 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.2789, allocations: 38.5 kB / 452.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.2789, allocations: 0 / 452.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000321/0.2793, allocations: 81.59 kB / 452.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.2793, allocations: 81.11 kB / 452.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.2794, allocations: 110.1 kB / 452.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.2794, allocations: 29.7 kB / 452.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.2795, allocations: 88.14 kB / 453 MB, free: 1.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.2795, allocations: 23.78 kB / 453.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.2796, allocations: 21.72 kB / 453.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2797, allocations: 310.8 kB / 453.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.013e-05/0.2798, allocations: 15.98 kB / 453.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-05/0.2798, allocations: 21.7 kB / 453.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.28, allocations: 45.64 kB / 453.5 MB, free: 1.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.28, allocations: 0 / 453.5 MB, free: 1.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001718/0.2801, allocations: 73.56 kB / 453.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2801, allocations: 6.5 kB / 453.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.2801, allocations: 4.125 kB / 453.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2802, allocations: 0 / 453.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.2802, allocations: 15.94 kB / 453.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2802, allocations: 8.047 kB / 453.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.2803, allocations: 8 kB / 453.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.2803, allocations: 0 / 453.6 MB, free: 0.9414 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.306e-05/0.2804, allocations: 121.7 kB / 453.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.2804, allocations: 11.89 kB / 453.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.2807, allocations: 106.1 kB / 453.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2807, allocations: 7.938 kB / 453.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2807, allocations: 0 / 453.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2807, allocations: 0 / 453.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.2808, allocations: 136.7 kB / 453.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2809, allocations: 3.938 kB / 454 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.2809, allocations: 15.92 kB / 454 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2809, allocations: 0 / 454 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2809, allocations: 8 kB / 454 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2809, allocations: 0 / 454 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2809, allocations: 0 / 454 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.2811, allocations: 101.9 kB / 454.1 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.2812, allocations: 15.86 kB / 454.1 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.2812, allocations: 4 kB / 454.1 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.2813, allocations: 0 / 454.1 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.2813, allocations: 15.92 kB / 454.1 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.2813, allocations: 8 kB / 454.1 MB, free: 324 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.406e-05/0.2814, allocations: 91.27 kB / 454.2 MB, free: 232 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2814, allocations: 0 / 454.2 MB, free: 232 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008447/0.2822, allocations: 327 kB / 454.5 MB, free: 15.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001581/0.2838, allocations: 1.12 MB / 455.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.284, allocations: 35.91 kB / 455.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.284, allocations: 0 / 455.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.027e-05/0.2841, allocations: 23.92 kB / 455.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.2842, allocations: 11.94 kB / 455.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.286, allocations: 1.46 MB / 457.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.2864, allocations: 0.6807 MB / 457.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.2865, allocations: 48.11 kB / 457.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.2865, allocations: 27.52 kB / 457.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2865, allocations: 3.938 kB / 457.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03565/0.3222, allocations: 10.55 MB / 468.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.754/9.076, allocations: 3.453 kB / 468.5 MB, free: 1.867 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.425204294268042] Failed to read output from testmodel.py, exit status != 0: ['time', 'Th', 'Ts', 'h2', 's2'] 9.153412354178727 9.179658375 8.903480225 Calling exit ...