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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2269/0.2269, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB 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.003284/0.003285, allocations: 80.08 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1222, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3936/0.5158, allocations: 154.4 MB / 0.6197 GB, free: 8.762 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.5176, allocations: 1.193 MB / 0.6209 GB, free: 7.578 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.5176, allocations: 4 kB / 0.6209 GB, free: 7.574 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.5179, allocations: 39.8 kB / 0.6209 GB, free: 7.535 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.564e-05/0.518, allocations: 35.7 kB / 0.6209 GB, free: 7.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.5195, allocations: 432.2 kB / 0.6214 GB, free: 7.086 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.5197, allocations: 71.53 kB / 0.6214 GB, free: 7.016 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.5197, allocations: 8 kB / 0.6214 GB, free: 7.008 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.878e-05/0.5198, allocations: 35.86 kB / 0.6215 GB, free: 6.973 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.5199, allocations: 31.91 kB / 0.6215 GB, free: 6.941 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.5199, allocations: 0 / 0.6215 GB, free: 6.941 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.5212, allocations: 0.4948 MB / 0.622 GB, free: 6.445 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.5212, allocations: 11.92 kB / 0.622 GB, free: 6.434 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.5213, allocations: 23.88 kB / 0.622 GB, free: 6.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007307/0.522, allocations: 311.3 kB / 0.6223 GB, free: 6.105 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.522, allocations: 4 kB / 0.6223 GB, free: 6.102 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.522, allocations: 0 / 0.6223 GB, free: 6.102 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.5221, allocations: 0 / 0.6223 GB, free: 6.102 MB / 462.1 MB 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.0007282/0.5228, allocations: 407.9 kB / 0.6227 GB, free: 5.656 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.5229, allocations: 16.02 kB / 0.6227 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/0.5229, allocations: 34.75 kB / 0.6227 GB, free: 5.598 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.5229, allocations: 5.125 kB / 0.6228 GB, free: 5.594 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.5231, allocations: 174.9 kB / 0.6229 GB, free: 5.383 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.5231, allocations: 4 kB / 0.6229 GB, free: 5.379 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.5232, allocations: 8 kB / 0.6229 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.5233, allocations: 73.66 kB / 0.623 GB, free: 5.293 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5233, allocations: 0 / 0.623 GB, free: 5.293 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5234, allocations: 4 kB / 0.623 GB, free: 5.289 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5234, allocations: 0 / 0.623 GB, free: 5.289 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.153e-05/0.5235, allocations: 43.97 kB / 0.623 GB, free: 5.246 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.524, allocations: 389.7 kB / 0.6234 GB, free: 4.797 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.5242, allocations: 74.47 kB / 0.6235 GB, free: 4.715 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.5242, allocations: 20.86 kB / 0.6235 GB, free: 4.691 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002078/0.5263, allocations: 1.221 MB / 0.6247 GB, free: 3.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.5263, allocations: 38.5 kB / 0.6247 GB, free: 3.184 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/0.5264, allocations: 0 / 0.6247 GB, free: 3.184 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.007207/0.5336, allocations: 0.6611 MB / 0.6254 GB, free: 2.516 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.5336, allocations: 55.41 kB / 0.6254 GB, free: 2.449 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.5337, allocations: 97.86 kB / 0.6255 GB, free: 2.344 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.5338, allocations: 29.7 kB / 0.6256 GB, free: 2.309 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.5338, allocations: 96.31 kB / 0.6257 GB, free: 2.211 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.5339, allocations: 47.3 kB / 0.6257 GB, free: 2.164 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.534, allocations: 45.58 kB / 0.6257 GB, free: 2.113 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5342, allocations: 314.8 kB / 0.626 GB, free: 1.797 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.5344, allocations: 79.94 kB / 0.6261 GB, free: 1.719 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.5346, allocations: 110.5 kB / 0.6262 GB, free: 1.602 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.5351, allocations: 202.6 kB / 0.6264 GB, free: 1.398 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5351, allocations: 7.938 kB / 0.6264 GB, free: 1.391 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005848/0.5357, allocations: 241.5 kB / 0.6267 GB, free: 1.148 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5357, allocations: 4 kB / 0.6267 GB, free: 1.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5357, allocations: 4 kB / 0.6267 GB, free: 1.141 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5358, allocations: 64 / 0.6267 GB, free: 1.141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.5365, allocations: 55.89 kB / 0.6267 GB, free: 1.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5365, allocations: 0 / 0.6267 GB, free: 1.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/0.5371, allocations: 20.86 kB / 0.6267 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.5371, allocations: 11.98 kB / 0.6267 GB, free: 1.055 MB / 462.1 MB 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.0001418/0.5373, allocations: 121.8 kB / 0.6269 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.5373, allocations: 3.906 kB / 0.6269 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008475/0.5382, allocations: 355.9 kB / 0.6272 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5382, allocations: 0.8125 kB / 0.6272 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5382, allocations: 0 / 0.6272 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.5382, allocations: 4 kB / 0.6272 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.5394, allocations: 0.7518 MB / 0.6279 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5394, allocations: 0 / 0.6279 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006795/0.5401, allocations: 40.72 kB / 0.628 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.5401, allocations: 7.922 kB / 0.628 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.5402, allocations: 8 kB / 0.628 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.5402, allocations: 3.938 kB / 0.628 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5402, allocations: 7.938 kB / 0.628 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006322/0.5408, allocations: 353.5 kB / 0.6283 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.541, allocations: 101 kB / 0.6284 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.541, allocations: 8.234 kB / 0.6285 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005987/0.5416, allocations: 12 kB / 0.6285 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.5417, allocations: 19.91 kB / 0.6285 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.5417, allocations: 8 kB / 0.6285 GB, free: 15.13 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.165e-05/0.5418, allocations: 91.27 kB / 0.6286 GB, free: 15.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5418, allocations: 0 / 0.6286 GB, free: 15.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004491/0.5422, allocations: 103.9 kB / 0.6287 GB, free: 14.94 MB / 478.1 MB 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.001292/0.5435, allocations: 1.003 MB / 0.6297 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005614/0.5441, allocations: 215.7 kB / 0.6299 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5441, allocations: 4.125 kB / 0.6299 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.5444, allocations: 115.9 kB / 0.63 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.5448, allocations: 30.47 kB / 0.63 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008808/0.5457, allocations: 334.7 kB / 0.6303 GB, free: 13.19 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.546, allocations: 0.6933 MB / 0.631 GB, free: 12.47 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004786/0.5465, allocations: 70.16 kB / 0.6311 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.5468, allocations: 47.38 kB / 0.6311 GB, free: 12.36 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5468, allocations: 0 / 0.6311 GB, free: 12.36 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03209/0.5789, allocations: 7.614 MB / 0.6385 GB, free: 4.801 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.63, allocations: 10.42 kB / 0.6386 GB, free: 4.801 MB / 478.1 MB (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)