Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_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.001239/0.001239, allocations: 94.12 kB / 16.99 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 200.8 kB / 17.9 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.21/0.21, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002326/0.0002326, allocations: 7.984 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1139, allocations: 63.46 MB / 481.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3637/0.4777, allocations: 141.9 MB / 0.6089 GB, free: 7.539 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007666/0.4854, allocations: 5.522 MB / 0.6143 GB, free: 2.008 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00093/0.4864, allocations: 27.75 kB / 0.6143 GB, free: 1.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008733/0.4873, allocations: 266.7 kB / 0.6145 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003314/0.4906, allocations: 0.9954 MB / 0.6155 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.4927, allocations: 0.759 MB / 0.6162 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001665/0.4944, allocations: 1.055 MB / 0.6173 GB, free: 14.92 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005628/0.4949, allocations: 386.9 kB / 0.6176 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.4964, allocations: 0.744 MB / 0.6184 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007503/0.4972, allocations: 454.5 kB / 0.6188 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.947e-05/0.4973, allocations: 32 kB / 0.6188 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.4987, allocations: 499.5 kB / 0.6193 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002836/0.499, allocations: 219.4 kB / 0.6195 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.4992, allocations: 165.3 kB / 0.6197 GB, free: 12.44 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.5004, allocations: 0.9182 MB / 0.6206 GB, free: 11.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5005, allocations: 0 / 0.6206 GB, free: 11.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5005, allocations: 0 / 0.6206 GB, free: 11.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.5005, allocations: 0 / 0.6206 GB, free: 11.52 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002098/0.5026, allocations: 0.9543 MB / 0.6215 GB, free: 10.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.5026, allocations: 12.02 kB / 0.6215 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/0.5028, allocations: 103.7 kB / 0.6216 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000757/0.5035, allocations: 139 kB / 0.6218 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008675/0.5044, allocations: 492.5 kB / 0.6222 GB, free: 9.738 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.5046, allocations: 104.4 kB / 0.6223 GB, free: 9.621 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.677e-05/0.5047, allocations: 51.94 kB / 0.6224 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.5059, allocations: 0.8058 MB / 0.6232 GB, free: 8.688 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.506, allocations: 7.938 kB / 0.6232 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.469e-05/0.506, allocations: 27.98 kB / 0.6232 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-05/0.5061, allocations: 36.94 kB / 0.6232 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.5071, allocations: 0.6244 MB / 0.6238 GB, free: 7.992 MB / 462.1 MB 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.004769/0.5119, allocations: 3.929 MB / 0.6277 GB, free: 3.816 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.5125, allocations: 354.2 kB / 0.628 GB, free: 3.465 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.5127, allocations: 89.39 kB / 0.6281 GB, free: 3.359 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.5127, allocations: 42.83 kB / 0.6281 GB, free: 3.309 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.685e-06/0.5127, allocations: 0 / 0.6281 GB, free: 3.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005668/0.5184, allocations: 1.669 MB / 0.6298 GB, free: 1.566 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/0.5185, allocations: 136.5 kB / 0.6299 GB, free: 1.402 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007116/0.5192, allocations: 0.6054 MB / 0.6305 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.5193, allocations: 41.7 kB / 0.6305 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.5196, allocations: 370.8 kB / 0.6309 GB, free: 376 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.5197, allocations: 138.1 kB / 0.631 GB, free: 236 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.5198, allocations: 12 kB / 0.631 GB, free: 224 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002543/0.52, allocations: 374.8 kB / 0.6314 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.5204, allocations: 201.9 kB / 0.6316 GB, free: 15.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/0.5209, allocations: 0.5086 MB / 0.6321 GB, free: 14.99 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.5214, allocations: 300.3 kB / 0.6324 GB, free: 14.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.5214, allocations: 4 kB / 0.6324 GB, free: 14.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001368/0.5227, allocations: 0.8684 MB / 0.6332 GB, free: 13.81 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.5228, allocations: 14.19 kB / 0.6332 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.5228, allocations: 8 kB / 0.6332 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.5241, allocations: 320.9 kB / 0.6335 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.5245, allocations: 123.8 kB / 0.6337 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.5256, allocations: 0.927 MB / 0.6346 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.5261, allocations: 59.88 kB / 0.6346 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.931e-05/0.5262, allocations: 63.98 kB / 0.6347 GB, free: 12.28 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003469/0.5266, allocations: 246 kB / 0.6349 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.5267, allocations: 63.25 kB / 0.635 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.5283, allocations: 0.8735 MB / 0.6358 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.5284, allocations: 4 kB / 0.6358 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5284, allocations: 3.938 kB / 0.6358 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5284, allocations: 7.922 kB / 0.6358 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.5304, allocations: 1.437 MB / 0.6372 GB, free: 9.492 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5305, allocations: 4 kB / 0.6373 GB, free: 9.488 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.5315, allocations: 215.9 kB / 0.6375 GB, free: 9.277 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.655e-05/0.5316, allocations: 24.84 kB / 0.6375 GB, free: 9.25 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.5316, allocations: 20 kB / 0.6375 GB, free: 9.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.5336, allocations: 2.699 MB / 0.6401 GB, free: 6.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.5337, allocations: 4.031 kB / 0.6401 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.5349, allocations: 0.8936 MB / 0.641 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.5352, allocations: 184.2 kB / 0.6412 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.547e-05/0.5353, allocations: 12 kB / 0.6412 GB, free: 5.086 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.5358, allocations: 27.97 kB / 0.6412 GB, free: 5.059 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.5359, allocations: 47.91 kB / 0.6413 GB, free: 5.012 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.716e-05/0.536, allocations: 43.98 kB / 0.6413 GB, free: 4.969 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005504/0.5365, allocations: 423 kB / 0.6417 GB, free: 4.559 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5365, allocations: 4 kB / 0.6417 GB, free: 4.555 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009826/0.5375, allocations: 259.9 kB / 0.642 GB, free: 4.301 MB / 478.1 MB 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002634/0.5402, allocations: 2.02 MB / 0.6439 GB, free: 2.219 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.5414, allocations: 0.5467 MB / 0.6445 GB, free: 1.672 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.5414, allocations: 0 / 0.6445 GB, free: 1.672 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009881/0.5424, allocations: 423.4 kB / 0.6449 GB, free: 1.246 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.544, allocations: 341.2 kB / 0.6452 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009381/0.5534, allocations: 10.85 MB / 0.6558 GB, free: 5.801 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.554, allocations: 0.9417 MB / 0.6567 GB, free: 4.828 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001328/0.5554, allocations: 470.3 kB / 0.6572 GB, free: 4.367 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005248/0.5559, allocations: 279.3 kB / 0.6574 GB, free: 4.094 MB / 494.1 MB Notification: Performance of SimCode: time 1.643e-06/0.5559, allocations: 0 / 0.6574 GB, free: 4.094 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04077/0.5967, allocations: 22.76 MB / 0.6797 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000411/0.5971, allocations: 271.5 kB / 0.6799 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/3.079, allocations: 0 / 0.6799 GB, free: 13.28 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat