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.001795/0.001795, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.001894/0.001894, allocations: 219.5 kB / 23 MB, free: 5.609 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.42/1.42, allocations: 230.2 MB / 256.2 MB, free: 8.699 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.2227/0.2227, allocations: 46.88 MB / 359.4 MB, free: 4.926 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.003266/0.003266, allocations: 83.84 kB / 0.4941 GB, free: 9.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3543, allocations: 66 MB / 0.5586 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1798/0.5342, allocations: 154.9 MB / 0.7098 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.5359, allocations: 1.215 MB / 0.711 GB, free: 8.465 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.5359, allocations: 0 / 0.711 GB, free: 8.465 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.5362, allocations: 43.8 kB / 0.711 GB, free: 8.422 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.626e-05/0.5362, allocations: 23.78 kB / 0.7111 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.5377, allocations: 441.6 kB / 0.7115 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.5378, allocations: 71.59 kB / 0.7115 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.5379, allocations: 7.922 kB / 0.7115 GB, free: 7.891 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.713e-05/0.538, allocations: 31.92 kB / 0.7116 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.004e-05/0.538, allocations: 31.86 kB / 0.7116 GB, free: 7.828 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.538, allocations: 0 / 0.7116 GB, free: 7.828 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.5392, allocations: 0.5104 MB / 0.7121 GB, free: 7.316 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.5392, allocations: 7.984 kB / 0.7121 GB, free: 7.309 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.5392, allocations: 23.88 kB / 0.7121 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005189/0.5398, allocations: 317.1 kB / 0.7124 GB, free: 6.977 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5398, allocations: 0 / 0.7124 GB, free: 6.977 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5398, allocations: 0 / 0.7124 GB, free: 6.977 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5398, allocations: 0 / 0.7124 GB, free: 6.977 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.0005936/0.5404, allocations: 414.8 kB / 0.7128 GB, free: 6.523 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.5404, allocations: 12.03 kB / 0.7128 GB, free: 6.512 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.5404, allocations: 38.73 kB / 0.7129 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.5405, allocations: 8.688 kB / 0.7129 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.5406, allocations: 167 kB / 0.7131 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.5406, allocations: 11.94 kB / 0.7131 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.5406, allocations: 4 kB / 0.7131 GB, free: 6.238 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.5408, allocations: 81.22 kB / 0.7131 GB, free: 6.156 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.5408, allocations: 0 / 0.7131 GB, free: 6.156 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.5408, allocations: 0 / 0.7131 GB, free: 6.156 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.5408, allocations: 4 kB / 0.7131 GB, free: 6.152 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.727e-05/0.5409, allocations: 47.91 kB / 0.7132 GB, free: 6.105 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.5414, allocations: 381.9 kB / 0.7136 GB, free: 5.664 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.5415, allocations: 66.47 kB / 0.7136 GB, free: 5.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/0.5415, allocations: 16.86 kB / 0.7136 GB, free: 5.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/0.5433, allocations: 1.228 MB / 0.7148 GB, free: 4.102 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.5434, allocations: 34.56 kB / 0.7149 GB, free: 4.059 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.5434, allocations: 0 / 0.7149 GB, free: 4.059 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.006452/0.5498, allocations: 0.6494 MB / 0.7155 GB, free: 3.402 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.5499, allocations: 63.41 kB / 0.7156 GB, free: 3.328 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.5499, allocations: 97.84 kB / 0.7157 GB, free: 3.223 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.55, allocations: 29.7 kB / 0.7157 GB, free: 3.188 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.55, allocations: 92.31 kB / 0.7158 GB, free: 3.094 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.5501, allocations: 47.59 kB / 0.7158 GB, free: 3.047 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.5502, allocations: 45.67 kB / 0.7159 GB, free: 2.996 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5503, allocations: 322.8 kB / 0.7162 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.5505, allocations: 83.88 kB / 0.7163 GB, free: 2.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.5508, allocations: 110.6 kB / 0.7164 GB, free: 2.473 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.5512, allocations: 198.5 kB / 0.7165 GB, free: 2.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5512, allocations: 3.938 kB / 0.7166 GB, free: 2.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005661/0.5518, allocations: 249.5 kB / 0.7168 GB, free: 2.016 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5518, allocations: 4.562 kB / 0.7168 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5518, allocations: 3.984 kB / 0.7168 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.5518, allocations: 7.984 kB / 0.7168 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.5525, allocations: 47.95 kB / 0.7168 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.5525, allocations: 3.938 kB / 0.7169 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.553, allocations: 20.23 kB / 0.7169 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.553, allocations: 19.92 kB / 0.7169 GB, free: 1.91 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.0001177/0.5531, allocations: 117.8 kB / 0.717 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.5532, allocations: 7.953 kB / 0.717 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007864/0.554, allocations: 345.4 kB / 0.7173 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.554, allocations: 0 / 0.7173 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.554, allocations: 4 kB / 0.7173 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.554, allocations: 0 / 0.7173 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.5551, allocations: 0.7617 MB / 0.7181 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.5551, allocations: 0 / 0.7181 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005996/0.5557, allocations: 43.97 kB / 0.7181 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5558, allocations: 0 / 0.7181 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.5558, allocations: 11.98 kB / 0.7181 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.5558, allocations: 7.875 kB / 0.7181 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5558, allocations: 0 / 0.7181 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000588/0.5564, allocations: 355.3 kB / 0.7185 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.5565, allocations: 105 kB / 0.7186 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.5565, allocations: 4 kB / 0.7186 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005116/0.557, allocations: 15.92 kB / 0.7186 GB, free: 8 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.5571, allocations: 16.05 kB / 0.7186 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.5571, allocations: 7.984 kB / 0.7186 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.5572, allocations: 87.22 kB / 0.7187 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5572, allocations: 0 / 0.7187 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004634/0.5576, allocations: 103.7 kB / 0.7188 GB, free: 15.8 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.001271/0.5589, allocations: 1.011 MB / 0.7198 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005261/0.5594, allocations: 195.8 kB / 0.72 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5594, allocations: 128 / 0.72 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.5597, allocations: 119.9 kB / 0.7201 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.5601, allocations: 32.11 kB / 0.7201 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008302/0.5609, allocations: 327.2 kB / 0.7204 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.5613, allocations: 0.7011 MB / 0.7211 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003121/0.5616, allocations: 64.69 kB / 0.7212 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.5618, allocations: 51.31 kB / 0.7212 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.5618, allocations: 0 / 0.7212 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.5911, allocations: 7.719 MB / 0.7288 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.597, allocations: 3.938 kB / 0.7288 GB, free: 5.551 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.54884272700292] 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.668654337991029 8.965162563 8.422990561 Calling exit ...