Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_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.00133/0.00133, allocations: 118.5 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247 MB, free: 10.46 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.2586/0.2586, allocations: 46.13 MB / 344.4 MB, free: 11.45 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.002323/0.002323, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.342, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2357/0.5778, allocations: 177.3 MB / 0.7038 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008076/0.5859, allocations: 5.335 MB / 0.709 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008669/0.5868, allocations: 19.88 kB / 0.709 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.5879, allocations: 318 kB / 0.7093 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003599/0.5915, allocations: 1.251 MB / 0.7105 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.5941, allocations: 0.968 MB / 0.7115 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002856/0.597, allocations: 1.852 MB / 0.7133 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008148/0.5978, allocations: 465.4 kB / 0.7137 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.6007, allocations: 1.086 MB / 0.7148 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.6021, allocations: 0.6617 MB / 0.7154 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.6023, allocations: 60 kB / 0.7155 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.6042, allocations: 0.6238 MB / 0.7161 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000329/0.6045, allocations: 267.3 kB / 0.7163 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005177/0.6051, allocations: 394.2 kB / 0.7167 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002652/0.6077, allocations: 1.316 MB / 0.718 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6077, allocations: 4 kB / 0.718 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6077, allocations: 0 / 0.718 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.6078, allocations: 0 / 0.718 GB, free: 1.145 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.2692/0.877, allocations: 1.119 MB / 0.7191 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/0.877, allocations: 9.375 kB / 0.7191 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003849/0.8774, allocations: 100.9 kB / 0.7192 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.8792, allocations: 141.8 kB / 0.7193 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.8808, allocations: 0.526 MB / 0.7199 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.881, allocations: 103 kB / 0.7199 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.8812, allocations: 47.95 kB / 0.72 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.8835, allocations: 0.8203 MB / 0.7208 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/0.8836, allocations: 6 kB / 0.7208 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.8837, allocations: 26.09 kB / 0.7208 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.8838, allocations: 40.5 kB / 0.7209 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.8855, allocations: 0.6207 MB / 0.7215 GB, free: 185.1 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005371/0.8909, allocations: 3.929 MB / 0.7253 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007583/0.8917, allocations: 361.3 kB / 0.7257 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/0.8921, allocations: 170.8 kB / 0.7258 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.8922, allocations: 91.78 kB / 0.7259 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.8922, allocations: 42.62 kB / 0.7259 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.895e-06/0.8923, allocations: 3.219 kB / 0.7259 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.007138/0.8994, allocations: 1.689 MB / 0.7276 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.8995, allocations: 137.4 kB / 0.7277 GB, free: 180 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.9005, allocations: 0.6066 MB / 0.7283 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.025e-05/0.9006, allocations: 40 kB / 0.7284 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.9009, allocations: 379.6 kB / 0.7287 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.901, allocations: 149.6 kB / 0.7289 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/0.9013, allocations: 165.3 kB / 0.729 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.9015, allocations: 370.6 kB / 0.7294 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004901/0.902, allocations: 205.1 kB / 0.7296 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/0.9026, allocations: 0.5179 MB / 0.7301 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.9039, allocations: 0.7405 MB / 0.7308 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/0.9039, allocations: 10.91 kB / 0.7308 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002114/0.906, allocations: 0.8852 MB / 0.7317 GB, free: 177 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.9061, allocations: 17.47 kB / 0.7317 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/0.9061, allocations: 10 kB / 0.7317 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.9079, allocations: 312.8 kB / 0.732 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.9085, allocations: 117.5 kB / 0.7321 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.9098, allocations: 0.9379 MB / 0.733 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008522/0.9107, allocations: 23.06 kB / 0.733 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/0.9109, allocations: 71.7 kB / 0.7331 GB, free: 176.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005567/0.9115, allocations: 239.5 kB / 0.7333 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/0.9118, allocations: 70.45 kB / 0.7334 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.9139, allocations: 0.8671 MB / 0.7343 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.9139, allocations: 11.86 kB / 0.7343 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.9139, allocations: 5.156 kB / 0.7343 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.9139, allocations: 0 / 0.7343 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.9166, allocations: 1.459 MB / 0.7357 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.9166, allocations: 3.969 kB / 0.7357 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.9179, allocations: 206 kB / 0.7359 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.918, allocations: 28.62 kB / 0.7359 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/0.9181, allocations: 23.89 kB / 0.7359 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.92, allocations: 2.883 MB / 0.7388 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.92, allocations: 0 / 0.7388 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.9216, allocations: 0.8199 MB / 0.7396 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003818/0.922, allocations: 188.1 kB / 0.7397 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.9222, allocations: 15.62 kB / 0.7398 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/0.9228, allocations: 24.83 kB / 0.7398 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.923, allocations: 31.97 kB / 0.7398 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.631e-05/0.9231, allocations: 48.91 kB / 0.7399 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000607/0.9237, allocations: 435 kB / 0.7403 GB, free: 170 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9237, allocations: 0 / 0.7403 GB, free: 170 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001305/0.925, allocations: 259.7 kB / 0.7405 GB, free: 169.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002481/0.9275, allocations: 1.556 MB / 0.742 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.9289, allocations: 0.5604 MB / 0.7426 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.9289, allocations: 9.156 kB / 0.7426 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.93, allocations: 415.1 kB / 0.743 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.9323, allocations: 367.3 kB / 0.7433 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009906/0.9423, allocations: 6.347 MB / 0.7495 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.9427, allocations: 0.93 MB / 0.7505 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001325/0.9441, allocations: 458.4 kB / 0.7509 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005785/0.9447, allocations: 287.3 kB / 0.7512 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/0.9447, allocations: 0 / 0.7512 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05094/0.9956, allocations: 24.45 MB / 0.775 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/14.13, allocations: 21.61 kB / 0.7751 GB, free: 134.2 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1)