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.001187/0.001187, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001253/0.001253, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.429/1.429, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.001912/0.001912, allocations: 79.81 kB / 373.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09895/0.1009, allocations: 53.31 MB / 426.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002521/0.1034, allocations: 1.375 MB / 428.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2195/0.3228, allocations: 23.69 MB / 451.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.3229, allocations: 0 / 451.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.323, allocations: 7.453 kB / 452 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01765/0.3407, allocations: 6.013 MB / 458 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008873/0.3415, allocations: 358.5 kB / 458.3 MB, free: 9.984 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.3417, allocations: 71.89 kB / 458.4 MB, free: 9.949 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.3417, allocations: 2.219 kB / 458.4 MB, free: 9.949 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.326e-05/0.3418, allocations: 36.42 kB / 458.4 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3419, allocations: 46.52 kB / 458.5 MB, free: 9.898 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.3419, allocations: 3.375 kB / 458.5 MB, free: 9.898 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01813/0.36, allocations: 8.998 MB / 467.5 MB, free: 5.113 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.3601, allocations: 11.98 kB / 467.5 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.864e-05/0.3602, allocations: 31.06 kB / 467.5 MB, free: 5.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.373, allocations: 4.396 MB / 471.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.373, allocations: 0 / 471.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.373, allocations: 1.562 kB / 471.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.373, allocations: 0 / 471.9 MB, free: 2.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003022/0.376, allocations: 0.9419 MB / 472.9 MB, free: 1.676 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3761, allocations: 8.969 kB / 472.9 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.656e-05/0.3761, allocations: 34.75 kB / 472.9 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.3762, allocations: 7.828 kB / 472.9 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.3764, allocations: 205 kB / 473.1 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.3764, allocations: 4 kB / 473.1 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.3764, allocations: 8.734 kB / 473.1 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.3766, allocations: 65.3 kB / 473.2 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3766, allocations: 0 / 473.2 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3766, allocations: 2.875 kB / 473.2 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3766, allocations: 0 / 473.2 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.3767, allocations: 38.47 kB / 473.2 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.377, allocations: 194.1 kB / 473.4 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.3773, allocations: 91.91 kB / 473.5 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.398e-05/0.3773, allocations: 31.36 kB / 473.5 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.303e-05/0.3774, allocations: 17.64 kB / 473.5 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3774, allocations: 36.48 kB / 473.6 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3774, allocations: 2.344 kB / 473.6 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003158/0.3777, allocations: 99.2 kB / 473.7 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.3778, allocations: 78.27 kB / 473.8 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.378, allocations: 138.6 kB / 473.9 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.378, allocations: 27.14 kB / 473.9 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.378, allocations: 93.62 kB / 474 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.3781, allocations: 18.64 kB / 474 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.3781, allocations: 21.88 kB / 474.1 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3783, allocations: 325.5 kB / 474.4 MB, free: 208 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6e-05/0.3783, allocations: 15.7 kB / 474.4 MB, free: 204 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.654e-05/0.3784, allocations: 34.8 kB / 474.4 MB, free: 176 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.3785, allocations: 53.73 kB / 474.5 MB, free: 144 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3785, allocations: 0 / 474.5 MB, free: 144 kB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001789/0.3787, allocations: 82.2 kB / 474.6 MB, free: 92 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3787, allocations: 4 kB / 474.6 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3787, allocations: 1.844 kB / 474.6 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3787, allocations: 3.984 kB / 474.6 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.3788, allocations: 9.5 kB / 474.6 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3788, allocations: 1.938 kB / 474.6 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/0.3788, allocations: 6.016 kB / 474.6 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.3788, allocations: 5.969 kB / 474.6 MB, free: 80 kB / 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 0.0001101/0.379, allocations: 123.7 kB / 474.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.379, allocations: 4.5 kB / 474.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.3792, allocations: 97.8 kB / 474.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.3792, allocations: 1.562 kB / 474.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3792, allocations: 0 / 474.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3792, allocations: 1.469 kB / 474.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.3794, allocations: 188.5 kB / 475 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3794, allocations: 5.594 kB / 475 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.3795, allocations: 20.02 kB / 475 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3795, allocations: 1.312 kB / 475 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.3795, allocations: 1.125 kB / 475 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3795, allocations: 1.344 kB / 475 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3795, allocations: 3.938 kB / 475 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.3797, allocations: 115.3 kB / 475.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.3798, allocations: 92.05 kB / 475.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.3798, allocations: 1.719 kB / 475.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.3799, allocations: 1.594 kB / 475.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.3799, allocations: 13.08 kB / 475.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.3799, allocations: 6.875 kB / 475.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.734e-05/0.38, allocations: 111.4 kB / 475.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.38, allocations: 0 / 475.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002902/0.3829, allocations: 0.9548 MB / 476.3 MB, free: 15.12 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.004753/0.3876, allocations: 1.896 MB / 478.2 MB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.3879, allocations: 59.84 kB / 478.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3879, allocations: 0 / 478.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.001e-05/0.3879, allocations: 23.92 kB / 478.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.3881, allocations: 19.92 kB / 478.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.3907, allocations: 1.8 MB / 480.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.391, allocations: 0.6885 MB / 480.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.128e-05/0.3911, allocations: 7.984 kB / 480.8 MB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.3911, allocations: 23.44 kB / 480.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3911, allocations: 0 / 480.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06591/0.457, allocations: 29.49 MB / 0.4984 GB, free: 13.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.359/9.816, allocations: 11.92 kB / 0.4984 GB, free: 13.26 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.095911810174584] Failed to read output from testmodel.py, exit status != 0: ['time', 'Th', 'Ts', 'h2', 's2'] 9.901838363148272 9.92350965 9.546275111 Calling exit ...