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.001236/0.001236, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.002435/0.002435, allocations: 215.5 kB / 23.48 MB, free: 5.223 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.426/1.426, allocations: 230.4 MB / 257 MB, free: 8.254 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.001881/0.001881, allocations: 67.89 kB / 377.1 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2644, allocations: 53.32 MB / 430.4 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002459/0.2669, allocations: 1.385 MB / 431.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03072/0.2976, allocations: 23.8 MB / 455.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.2977, allocations: 0 / 455.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.2978, allocations: 7.922 kB / 455.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01598/0.3138, allocations: 6.008 MB / 461.6 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008205/0.3146, allocations: 350.7 kB / 461.9 MB, free: 7.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.3148, allocations: 79.62 kB / 462 MB, free: 7.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.3148, allocations: 4 kB / 462 MB, free: 7.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/0.3149, allocations: 35.84 kB / 462 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.315, allocations: 43.89 kB / 462.1 MB, free: 7.578 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.315, allocations: 0 / 462.1 MB, free: 7.578 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01771/0.3327, allocations: 9.007 MB / 471.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.3327, allocations: 19.91 kB / 471.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.38e-05/0.3328, allocations: 19.94 kB / 471.1 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.3432, allocations: 4.397 MB / 475.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3432, allocations: 0 / 475.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3432, allocations: 0 / 475.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.3433, allocations: 0 / 475.5 MB, free: 10.11 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.002275/0.3455, allocations: 0.9394 MB / 476.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3456, allocations: 12.03 kB / 476.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.534e-05/0.3456, allocations: 42.73 kB / 476.5 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.3457, allocations: 8.891 kB / 476.5 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.3459, allocations: 199.6 kB / 476.7 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3459, allocations: 0 / 476.7 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.3459, allocations: 8 kB / 476.7 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.3461, allocations: 67.38 kB / 476.8 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.3461, allocations: 0 / 476.8 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3461, allocations: 4 kB / 476.8 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3461, allocations: 4 kB / 476.8 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.3462, allocations: 39.91 kB / 476.8 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.3464, allocations: 186.5 kB / 477 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.3468, allocations: 93.17 kB / 477.1 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.615e-05/0.3468, allocations: 37.75 kB / 477.2 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.116e-05/0.3469, allocations: 15.94 kB / 477.2 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.3469, allocations: 30.56 kB / 477.2 MB, free: 8.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/0.3469, allocations: 0 / 477.2 MB, free: 8.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003172/0.3472, allocations: 105.5 kB / 477.3 MB, free: 8.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.3473, allocations: 77.11 kB / 477.4 MB, free: 8.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.3474, allocations: 145.8 kB / 477.5 MB, free: 7.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.3475, allocations: 25.7 kB / 477.5 MB, free: 7.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.3475, allocations: 88.14 kB / 477.6 MB, free: 7.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.3475, allocations: 19.8 kB / 477.7 MB, free: 7.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.3476, allocations: 21.7 kB / 477.7 MB, free: 7.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3477, allocations: 318.8 kB / 478 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.3478, allocations: 15.98 kB / 478 MB, free: 7.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.816e-05/0.3479, allocations: 37.7 kB / 478 MB, free: 7.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.348, allocations: 53.62 kB / 478.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.348, allocations: 0 / 478.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001799/0.3482, allocations: 77.67 kB / 478.2 MB, free: 7.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3482, allocations: 7.938 kB / 478.2 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3482, allocations: 4 kB / 478.2 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3482, allocations: 128 / 478.2 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.3483, allocations: 19.94 kB / 478.2 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3483, allocations: 7.969 kB / 478.2 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.3483, allocations: 7.953 kB / 478.2 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.3483, allocations: 0 / 478.2 MB, free: 7.152 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.0001055/0.3484, allocations: 117.8 kB / 478.3 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.3485, allocations: 4 kB / 478.3 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.3487, allocations: 98 kB / 478.4 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3487, allocations: 4 kB / 478.4 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3487, allocations: 4 kB / 478.4 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3487, allocations: 0 / 478.4 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.3489, allocations: 177.5 kB / 478.6 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.3489, allocations: 3.984 kB / 478.6 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/0.3489, allocations: 8 kB / 478.6 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.349, allocations: 4.031 kB / 478.6 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.349, allocations: 4 kB / 478.6 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.349, allocations: 3.938 kB / 478.6 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.349, allocations: 0 / 478.6 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.3492, allocations: 113.9 kB / 478.7 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-05/0.3493, allocations: 96.98 kB / 478.8 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.3493, allocations: 0 / 478.8 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.3493, allocations: 7.984 kB / 478.8 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.3494, allocations: 4 kB / 478.8 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.3494, allocations: 8.375 kB / 478.9 MB, free: 6.402 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.76e-05/0.3495, allocations: 123.1 kB / 479 MB, free: 6.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3495, allocations: 0 / 479 MB, free: 6.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0026/0.3521, allocations: 0.9508 MB / 479.9 MB, free: 5.328 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.004485/0.3566, allocations: 1.904 MB / 481.8 MB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.3568, allocations: 47.91 kB / 481.9 MB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.3568, allocations: 4 kB / 481.9 MB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.97e-05/0.3569, allocations: 19.98 kB / 481.9 MB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.3571, allocations: 19.97 kB / 481.9 MB, free: 3.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.3597, allocations: 1.811 MB / 483.7 MB, free: 1.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.36, allocations: 0.6807 MB / 484.4 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.453e-05/0.36, allocations: 12 kB / 484.4 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.3601, allocations: 27.36 kB / 484.5 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3601, allocations: 0 / 484.5 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0679/0.428, allocations: 29.46 MB / 0.5019 GB, free: 3.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.287/9.715, allocations: 7.031 kB / 0.5019 GB, free: 3.246 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: 11.983732145046815] Failed to read output from testmodel.py, exit status != 0: ['time', 'Th', 'Ts', 'h2', 's2'] 9.802726113935933 9.822069335 9.475596416 Calling exit ...