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.001801/0.001801, allocations: 110.3 kB / 20.22 MB, free: 1.812 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.002307/0.002307, allocations: 217.7 kB / 23.48 MB, free: 5.254 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.403/1.403, allocations: 230.2 MB / 256.8 MB, free: 8.562 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.2211/0.2211, allocations: 46.89 MB / 360 MB, free: 4.719 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.002257/0.002257, allocations: 75.88 kB / 0.4951 GB, free: 8.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3293, allocations: 66 MB / 0.5595 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1909/0.5202, allocations: 154.9 MB / 0.7108 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.5219, allocations: 1.215 MB / 0.7119 GB, free: 8.277 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.5219, allocations: 4 kB / 0.7119 GB, free: 8.273 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.5221, allocations: 31.81 kB / 0.712 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.5221, allocations: 31.77 kB / 0.712 GB, free: 8.211 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.5236, allocations: 441.6 kB / 0.7124 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.5237, allocations: 67.59 kB / 0.7125 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.5237, allocations: 4 kB / 0.7125 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.5239, allocations: 31.92 kB / 0.7125 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.5239, allocations: 35.78 kB / 0.7126 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.5239, allocations: 4 kB / 0.7126 GB, free: 7.641 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.5256, allocations: 0.5065 MB / 0.7131 GB, free: 7.133 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.5257, allocations: 4 kB / 0.7131 GB, free: 7.129 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.285e-05/0.5257, allocations: 35.84 kB / 0.7131 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008899/0.5266, allocations: 313.1 kB / 0.7134 GB, free: 6.789 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.5266, allocations: 4 kB / 0.7134 GB, free: 6.785 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5266, allocations: 0 / 0.7134 GB, free: 6.785 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.5266, allocations: 0 / 0.7134 GB, free: 6.785 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.0009407/0.5276, allocations: 410.8 kB / 0.7138 GB, free: 6.336 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/0.5276, allocations: 12.03 kB / 0.7138 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.474e-05/0.5277, allocations: 38.73 kB / 0.7138 GB, free: 6.277 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.5278, allocations: 8.688 kB / 0.7138 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.528, allocations: 171 kB / 0.714 GB, free: 6.062 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.528, allocations: 8 kB / 0.714 GB, free: 6.055 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.528, allocations: 4 kB / 0.714 GB, free: 6.051 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.5282, allocations: 77.59 kB / 0.7141 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.5282, allocations: 0 / 0.7141 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.5282, allocations: 4 kB / 0.7141 GB, free: 5.965 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.5283, allocations: 4 kB / 0.7141 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.5284, allocations: 47.91 kB / 0.7141 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006407/0.529, allocations: 374 kB / 0.7145 GB, free: 5.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.5292, allocations: 58.5 kB / 0.7146 GB, free: 5.414 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.5292, allocations: 20.84 kB / 0.7146 GB, free: 5.391 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002488/0.5317, allocations: 1.228 MB / 0.7158 GB, free: 3.922 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.5318, allocations: 38.56 kB / 0.7158 GB, free: 3.875 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.953e-06/0.5318, allocations: 0 / 0.7158 GB, free: 3.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.00885/0.5406, allocations: 0.6533 MB / 0.7165 GB, free: 3.215 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.5407, allocations: 55.41 kB / 0.7165 GB, free: 3.148 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.5408, allocations: 102 kB / 0.7166 GB, free: 3.039 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.5408, allocations: 29.7 kB / 0.7166 GB, free: 3.004 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.5409, allocations: 92.31 kB / 0.7167 GB, free: 2.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/0.541, allocations: 51.59 kB / 0.7168 GB, free: 2.859 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.5411, allocations: 45.67 kB / 0.7168 GB, free: 2.809 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.5413, allocations: 322.8 kB / 0.7171 GB, free: 2.484 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.5416, allocations: 83.88 kB / 0.7172 GB, free: 2.402 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/0.542, allocations: 106.7 kB / 0.7173 GB, free: 2.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000695/0.5427, allocations: 206.5 kB / 0.7175 GB, free: 2.078 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5427, allocations: 0 / 0.7175 GB, free: 2.078 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008833/0.5436, allocations: 252.7 kB / 0.7177 GB, free: 1.828 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.5436, allocations: 4 kB / 0.7177 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.5436, allocations: 0 / 0.7177 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5436, allocations: 4 kB / 0.7177 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000916/0.5445, allocations: 52 kB / 0.7178 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.5446, allocations: 7.938 kB / 0.7178 GB, free: 1.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006454/0.5452, allocations: 15.98 kB / 0.7178 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.5453, allocations: 11.98 kB / 0.7178 GB, free: 1.734 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.0001747/0.5454, allocations: 117.8 kB / 0.7179 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.653e-05/0.5455, allocations: 7.953 kB / 0.718 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.5467, allocations: 349.9 kB / 0.7183 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5467, allocations: 4 kB / 0.7183 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5467, allocations: 0 / 0.7183 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.5467, allocations: 0 / 0.7183 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.5483, allocations: 0.7695 MB / 0.719 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5483, allocations: 4 kB / 0.719 GB, free: 396 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007974/0.5491, allocations: 43.97 kB / 0.7191 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.5491, allocations: 0 / 0.7191 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.5492, allocations: 7.984 kB / 0.7191 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.5492, allocations: 3.938 kB / 0.7191 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5492, allocations: 0 / 0.7191 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009089/0.5501, allocations: 355.4 kB / 0.7194 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.5502, allocations: 109 kB / 0.7195 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.5503, allocations: 4 kB / 0.7195 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006898/0.551, allocations: 15.92 kB / 0.7196 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/0.5511, allocations: 15.98 kB / 0.7196 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.5511, allocations: 7.984 kB / 0.7196 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.029e-05/0.5512, allocations: 83.28 kB / 0.7197 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5512, allocations: 0 / 0.7197 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006807/0.5518, allocations: 107.7 kB / 0.7198 GB, free: 15.61 MB / 0.5606 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.001434/0.5533, allocations: 1.002 MB / 0.7207 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005379/0.5538, allocations: 206.7 kB / 0.7209 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5538, allocations: 0 / 0.7209 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.5542, allocations: 115.9 kB / 0.7211 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.5546, allocations: 30.7 kB / 0.7211 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008542/0.5555, allocations: 325.5 kB / 0.7214 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.5558, allocations: 0.6926 MB / 0.7221 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003057/0.5561, allocations: 76.72 kB / 0.7221 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.5563, allocations: 47.33 kB / 0.7222 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.5563, allocations: 3.938 kB / 0.7222 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.5864, allocations: 7.719 MB / 0.7297 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.829, allocations: 7.375 kB / 0.7297 GB, free: 5.363 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.895072911051102] 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.902866079006344 9.17204744 8.64279428 Calling exit ...