Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.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.001869/0.001869, 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.002224/0.002224, allocations: 212.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2266/0.2266, allocations: 46.94 MB / 361.6 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002299/0.002299, allocations: 79.88 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3313, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1884/0.5197, allocations: 154.9 MB / 0.7128 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.5213, allocations: 1.203 MB / 0.7139 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.5213, allocations: 4 kB / 0.7139 GB, free: 7.609 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.5216, allocations: 39.75 kB / 0.714 GB, free: 7.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.799e-05/0.5216, allocations: 23.77 kB / 0.714 GB, free: 7.547 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.5228, allocations: 445.6 kB / 0.7144 GB, free: 7.113 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.5229, allocations: 75.58 kB / 0.7145 GB, free: 7.039 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.523, allocations: 4 kB / 0.7145 GB, free: 7.035 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.004e-05/0.5231, allocations: 39.86 kB / 0.7145 GB, free: 6.996 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.5231, allocations: 27.91 kB / 0.7146 GB, free: 6.969 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.806e-06/0.5231, allocations: 0 / 0.7146 GB, free: 6.969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.5242, allocations: 0.5182 MB / 0.7151 GB, free: 6.449 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/0.5243, allocations: 15.91 kB / 0.7151 GB, free: 6.434 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.5243, allocations: 27.88 kB / 0.7151 GB, free: 6.406 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005166/0.5248, allocations: 317.2 kB / 0.7154 GB, free: 6.098 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5248, allocations: 0 / 0.7154 GB, free: 6.098 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5248, allocations: 4 kB / 0.7154 GB, free: 6.094 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.5248, allocations: 0 / 0.7154 GB, free: 6.094 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005908/0.5254, allocations: 333.6 kB / 0.7157 GB, free: 5.738 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.5255, allocations: 8.031 kB / 0.7157 GB, free: 5.73 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.5255, allocations: 42.73 kB / 0.7158 GB, free: 5.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.5255, allocations: 8.688 kB / 0.7158 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.5256, allocations: 113.1 kB / 0.7159 GB, free: 5.535 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.5257, allocations: 8 kB / 0.7159 GB, free: 5.527 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.5257, allocations: 4 kB / 0.7159 GB, free: 5.523 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.5259, allocations: 77.66 kB / 0.716 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.5259, allocations: 4 kB / 0.716 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.5259, allocations: 0 / 0.716 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5259, allocations: 0 / 0.716 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.587e-05/0.526, allocations: 51.91 kB / 0.716 GB, free: 5.387 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.5265, allocations: 357 kB / 0.7164 GB, free: 4.977 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.5266, allocations: 54.56 kB / 0.7164 GB, free: 4.914 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.5267, allocations: 24.84 kB / 0.7165 GB, free: 4.887 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.528, allocations: 259.7 kB / 0.7167 GB, free: 4.633 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.528, allocations: 38.69 kB / 0.7167 GB, free: 4.586 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.528, allocations: 0 / 0.7167 GB, free: 4.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.00663/0.5346, allocations: 0.6532 MB / 0.7174 GB, free: 3.926 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.5347, allocations: 51.41 kB / 0.7174 GB, free: 3.863 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/0.5348, allocations: 109.8 kB / 0.7175 GB, free: 3.746 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.5348, allocations: 26.27 kB / 0.7176 GB, free: 3.715 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.5349, allocations: 92.36 kB / 0.7176 GB, free: 3.621 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.5349, allocations: 51.53 kB / 0.7177 GB, free: 3.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.535, allocations: 49.67 kB / 0.7177 GB, free: 3.516 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5352, allocations: 318.8 kB / 0.718 GB, free: 3.195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.5354, allocations: 87.88 kB / 0.7181 GB, free: 3.109 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.5357, allocations: 105.5 kB / 0.7182 GB, free: 3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000463/0.5361, allocations: 202.5 kB / 0.7184 GB, free: 2.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.5361, allocations: 0 / 0.7184 GB, free: 2.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000589/0.5367, allocations: 245.5 kB / 0.7187 GB, free: 2.547 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.5367, allocations: 10.03 kB / 0.7187 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5367, allocations: 0 / 0.7187 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.5367, allocations: 3.938 kB / 0.7187 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000665/0.5374, allocations: 51.95 kB / 0.7187 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5374, allocations: 4.062 kB / 0.7187 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.5379, allocations: 15.98 kB / 0.7187 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.538, allocations: 15.98 kB / 0.7188 GB, free: 2.449 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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.0001218/0.5381, allocations: 121.7 kB / 0.7189 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.5381, allocations: 7.953 kB / 0.7189 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008166/0.539, allocations: 345.4 kB / 0.7192 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.539, allocations: 4 kB / 0.7192 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.539, allocations: 0 / 0.7192 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.539, allocations: 0 / 0.7192 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.5402, allocations: 0.7373 MB / 0.7199 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5402, allocations: 0 / 0.7199 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005951/0.5408, allocations: 47.91 kB / 0.72 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/0.5408, allocations: 4 kB / 0.72 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.5409, allocations: 7.984 kB / 0.72 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.5409, allocations: 7.938 kB / 0.72 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5409, allocations: 0 / 0.72 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.5415, allocations: 347.4 kB / 0.7203 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-05/0.5416, allocations: 27.91 kB / 0.7204 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.5416, allocations: 8.25 kB / 0.7204 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/0.5421, allocations: 23.86 kB / 0.7204 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.5422, allocations: 15.97 kB / 0.7204 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.5422, allocations: 8 kB / 0.7204 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.013e-05/0.5422, allocations: 83.27 kB / 0.7205 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.5422, allocations: 0 / 0.7205 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004452/0.5427, allocations: 107.7 kB / 0.7206 GB, free: 460 kB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 19 * 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.001324/0.544, allocations: 1.003 MB / 0.7216 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005456/0.5446, allocations: 203.8 kB / 0.7218 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5446, allocations: 0 / 0.7218 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.5448, allocations: 108.6 kB / 0.7219 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.5452, allocations: 35.83 kB / 0.7219 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008631/0.5461, allocations: 345 kB / 0.7222 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.5464, allocations: 0.6926 MB / 0.7229 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003263/0.5468, allocations: 64.84 kB / 0.723 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.547, allocations: 43.39 kB / 0.723 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.547, allocations: 0 / 0.723 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.5774, allocations: 7.809 MB / 0.7306 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.722, allocations: 2.344 kB / 0.7306 GB, free: 6.121 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.945025405846536] Failed to read output from testmodel.py, exit status != 0: ['time', 'T', 'eta', 'lambda', 'eta_der', 'lambda_der', 'eta2', 'lambda2', 'eta2_der', 'lambda2_der'] 8.794980068225414 9.06454539 8.537063275 Calling exit ...