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_TX.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.001467/0.001467, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001887/0.001887, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8.043 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_TX,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",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.001939/0.001939, allocations: 64.77 kB / 378.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.275, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002481/0.2775, allocations: 1.383 MB / 433.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03188/0.3094, allocations: 23.82 MB / 457.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.3094, allocations: 0 / 457.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.3096, allocations: 11.92 kB / 457.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0152/0.3248, allocations: 6.035 MB / 463.2 MB, free: 7.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008709/0.3256, allocations: 362.7 kB / 463.5 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.3258, allocations: 83.62 kB / 463.6 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.3258, allocations: 0 / 463.6 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.846e-05/0.3259, allocations: 31.91 kB / 463.6 MB, free: 7.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.326, allocations: 43.83 kB / 463.7 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.326, allocations: 4 kB / 463.7 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01743/0.3434, allocations: 9.046 MB / 472.7 MB, free: 14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.3435, allocations: 11.98 kB / 472.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.3436, allocations: 23.88 kB / 472.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.3555, allocations: 4.405 MB / 477.2 MB, free: 9.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3555, allocations: 4 kB / 477.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3555, allocations: 3.938 kB / 477.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.3555, allocations: 4 kB / 477.2 MB, free: 9.535 MB / 382.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.002437/0.358, allocations: 0.8602 MB / 478 MB, free: 8.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.358, allocations: 11.97 kB / 478 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.3581, allocations: 42.69 kB / 478.1 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.3581, allocations: 12.88 kB / 478.1 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.3583, allocations: 137.8 kB / 478.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3583, allocations: 4 kB / 478.2 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.3583, allocations: 8 kB / 478.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.3585, allocations: 63.39 kB / 478.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3585, allocations: 0 / 478.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.3585, allocations: 7.984 kB / 478.3 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3585, allocations: 4 kB / 478.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.3587, allocations: 31.92 kB / 478.3 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.3589, allocations: 161.6 kB / 478.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.3592, allocations: 101.1 kB / 478.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.017e-05/0.3593, allocations: 29.77 kB / 478.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-05/0.3593, allocations: 12 kB / 478.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3594, allocations: 34.56 kB / 478.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3594, allocations: 0 / 478.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003282/0.3597, allocations: 101.5 kB / 478.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.3597, allocations: 81.11 kB / 478.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3599, allocations: 137.8 kB / 479 MB, free: 7.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.3599, allocations: 29.7 kB / 479 MB, free: 7.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.3599, allocations: 84.14 kB / 479.1 MB, free: 7.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.36, allocations: 27.8 kB / 479.1 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.36, allocations: 21.7 kB / 479.1 MB, free: 7.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3602, allocations: 314.8 kB / 479.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.476e-05/0.3603, allocations: 20.36 kB / 479.5 MB, free: 7.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/0.3603, allocations: 33.64 kB / 479.5 MB, free: 6.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.3605, allocations: 49.83 kB / 479.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3605, allocations: 4 kB / 479.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001886/0.3606, allocations: 89.53 kB / 479.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3607, allocations: 4 kB / 479.7 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3607, allocations: 4 kB / 479.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3607, allocations: 0 / 479.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.317e-05/0.3608, allocations: 8 kB / 479.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3608, allocations: 0 / 479.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.3608, allocations: 11.89 kB / 479.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.3608, allocations: 3.984 kB / 479.7 MB, free: 6.785 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: 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 0.0001038/0.3609, allocations: 125.7 kB / 479.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.3609, allocations: 4 kB / 479.8 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.3612, allocations: 98.05 kB / 479.9 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.3612, allocations: 12.06 kB / 479.9 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3612, allocations: 0 / 479.9 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3612, allocations: 0 / 479.9 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.3614, allocations: 156.5 kB / 480.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3614, allocations: 0 / 480.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.072e-05/0.3614, allocations: 23.92 kB / 480.1 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.3614, allocations: 4 kB / 480.1 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.3614, allocations: 0 / 480.1 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3614, allocations: 0 / 480.1 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3614, allocations: 0 / 480.1 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.3616, allocations: 109.9 kB / 480.2 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.3617, allocations: 15.94 kB / 480.2 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.3617, allocations: 4 kB / 480.2 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.898e-05/0.3618, allocations: 0 / 480.2 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.3618, allocations: 15.92 kB / 480.2 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.3618, allocations: 4 kB / 480.2 MB, free: 6.148 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.871e-05/0.3619, allocations: 115.2 kB / 480.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3619, allocations: 0 / 480.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002597/0.3645, allocations: 0.9547 MB / 481.3 MB, free: 5.078 MB / 382.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.005103/0.3696, allocations: 1.879 MB / 483.2 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.3699, allocations: 48.19 kB / 483.2 MB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3699, allocations: 0 / 483.2 MB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.37, allocations: 27.92 kB / 483.3 MB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.3702, allocations: 15.94 kB / 483.3 MB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.3735, allocations: 1.801 MB / 485.1 MB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.3739, allocations: 0.6884 MB / 485.8 MB, free: 468 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.485e-05/0.3739, allocations: 15.97 kB / 485.8 MB, free: 452 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.374, allocations: 23.42 kB / 485.8 MB, free: 428 kB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.374, allocations: 0 / 485.8 MB, free: 428 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06879/0.4428, allocations: 29.46 MB / 0.5032 GB, free: 3.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.67/10.11, allocations: 0 / 0.5032 GB, free: 3.02 MB / 414.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_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_TX.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.444753284566104] Failed to read output from testmodel.py, exit status != 0: ['time', 'Th', 'Ts', 'h2', 's2'] 10.19757825601846 10.213295812 9.854318443 Calling exit ...