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.001461/0.001461, allocations: 105 kB / 19.74 MB, free: 2.453 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.001541/0.001541, allocations: 216.3 kB / 22.92 MB, free: 5.195 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.27/1.27, allocations: 230.5 MB / 256.4 MB, free: 8.25 MB / 206.1 MB " [Timeout remaining time 179] 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.001815/0.001815, allocations: 67.89 kB / 376.1 MB, free: 4.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2045, allocations: 53.3 MB / 429.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002157/0.2066, allocations: 1.382 MB / 430.8 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.219, allocations: 12.2 MB / 443 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.2191, allocations: 4 kB / 443 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.2191, allocations: 7.922 kB / 443 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00239/0.2215, allocations: 1.042 MB / 444 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.2228, allocations: 0.633 MB / 444.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.416e-05/0.2229, allocations: 59.66 kB / 444.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.2229, allocations: 8 kB / 444.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.228e-05/0.2229, allocations: 23.91 kB / 444.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.623e-05/0.223, allocations: 39.89 kB / 444.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.223, allocations: 4 kB / 444.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.2256, allocations: 1.635 MB / 446.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.2257, allocations: 8 kB / 446.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.2257, allocations: 27.84 kB / 446.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.2272, allocations: 1.072 MB / 447.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2272, allocations: 4 kB / 447.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2272, allocations: 0 / 447.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.2272, allocations: 0 / 447.5 MB, free: 5.234 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.0006706/0.2279, allocations: 0.5521 MB / 448.1 MB, free: 4.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.2279, allocations: 12.03 kB / 448.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.228, allocations: 34.73 kB / 448.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.2281, allocations: 8.891 kB / 448.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.2282, allocations: 184.3 kB / 448.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2282, allocations: 384 / 448.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2282, allocations: 12.38 kB / 448.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.2284, allocations: 63.33 kB / 448.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.2284, allocations: 0 / 448.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.2284, allocations: 0 / 448.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.2284, allocations: 0 / 448.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.2285, allocations: 31.91 kB / 448.4 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.2287, allocations: 182.5 kB / 448.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.229, allocations: 73.19 kB / 448.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.229, allocations: 29.72 kB / 448.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006093/0.2351, allocations: 3.309 MB / 452 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.2352, allocations: 30.56 kB / 452 MB, free: 88 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2352, allocations: 0 / 452 MB, free: 88 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003011/0.2355, allocations: 89.58 kB / 452.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.2355, allocations: 85.05 kB / 452.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.151e-05/0.2356, allocations: 113.8 kB / 452.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.2356, allocations: 25.7 kB / 452.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.2357, allocations: 84.14 kB / 452.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.2357, allocations: 27.78 kB / 452.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.2357, allocations: 13.72 kB / 452.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2359, allocations: 318.8 kB / 452.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.027e-05/0.2359, allocations: 11.98 kB / 452.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-05/0.236, allocations: 29.7 kB / 452.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.2361, allocations: 45.64 kB / 452.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2361, allocations: 0 / 452.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001617/0.2362, allocations: 77.5 kB / 452.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2363, allocations: 8 kB / 453 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2363, allocations: 0 / 453 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2363, allocations: 0 / 453 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.2363, allocations: 12 kB / 453 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2363, allocations: 3.984 kB / 453 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.2364, allocations: 0 / 453 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.2364, allocations: 4 kB / 453 MB, free: 15.08 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: 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 8.441e-05/0.2365, allocations: 113.8 kB / 453.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.2365, allocations: 7.891 kB / 453.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.2368, allocations: 109.4 kB / 453.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2368, allocations: 0 / 453.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2368, allocations: 4 kB / 453.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2368, allocations: 3.938 kB / 453.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.2369, allocations: 165.6 kB / 453.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2369, allocations: 3.938 kB / 453.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.237, allocations: 15.98 kB / 453.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.237, allocations: 4.562 kB / 453.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.237, allocations: 0 / 453.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.237, allocations: 0 / 453.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.237, allocations: 0 / 453.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.2372, allocations: 105.9 kB / 453.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.2372, allocations: 101 kB / 453.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.2373, allocations: 0 / 453.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.2373, allocations: 4.188 kB / 453.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.2374, allocations: 7.984 kB / 453.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2374, allocations: 8 kB / 453.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.587e-05/0.2374, allocations: 91.58 kB / 453.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2374, allocations: 4 kB / 453.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007132/0.2381, allocations: 322.8 kB / 454 MB, free: 13.93 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.001378/0.2395, allocations: 1.127 MB / 455.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.2397, allocations: 39.97 kB / 455.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2397, allocations: 0 / 455.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/0.2398, allocations: 19.92 kB / 455.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.2399, allocations: 13.7 kB / 455.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.2415, allocations: 1.465 MB / 456.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.2417, allocations: 0.6846 MB / 457.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.688e-05/0.2418, allocations: 43.89 kB / 457.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.2419, allocations: 23.42 kB / 457.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2419, allocations: 0 / 457.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.2735, allocations: 10.52 MB / 468 MB, free: 15.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/7.626, allocations: 0 / 468 MB, free: 15.91 MB / 382.1 MB " [Timeout remaining time 652] (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 --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: 9.67277199000091]