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.0009171/0.0009171, allocations: 98.42 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 192.5 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 45.92 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002654/0.0002655, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1269, allocations: 63.46 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4025/0.5294, allocations: 159.1 MB / 0.6257 GB, free: 7.238 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007134/0.5366, allocations: 5.09 MB / 0.6307 GB, free: 2.133 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009567/0.5376, allocations: 23.81 kB / 0.6307 GB, free: 2.109 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000937/0.5385, allocations: 266.3 kB / 0.631 GB, free: 1.848 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003319/0.5419, allocations: 1.084 MB / 0.632 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.5442, allocations: 0.7492 MB / 0.6327 GB, free: 24 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002883/0.5471, allocations: 2.257 MB / 0.6349 GB, free: 13.76 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007245/0.5479, allocations: 379.1 kB / 0.6353 GB, free: 13.39 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/0.5501, allocations: 0.9091 MB / 0.6362 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009901/0.5511, allocations: 0.6541 MB / 0.6368 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.916e-05/0.5512, allocations: 32 kB / 0.6369 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.5525, allocations: 463.3 kB / 0.6373 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002741/0.5528, allocations: 235.3 kB / 0.6375 GB, free: 11.11 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.553, allocations: 165.3 kB / 0.6377 GB, free: 10.94 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.5541, allocations: 0.9353 MB / 0.6386 GB, free: 10 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.5541, allocations: 0 / 0.6386 GB, free: 10 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5541, allocations: 0 / 0.6386 GB, free: 10 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.5541, allocations: 0 / 0.6386 GB, free: 10 MB / 478.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.001904/0.556, allocations: 0.9504 MB / 0.6395 GB, free: 9 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.5561, allocations: 12.03 kB / 0.6395 GB, free: 8.988 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.5562, allocations: 98.52 kB / 0.6396 GB, free: 8.883 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007747/0.557, allocations: 135 kB / 0.6398 GB, free: 8.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007311/0.5577, allocations: 0.4927 MB / 0.6402 GB, free: 8.215 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.5578, allocations: 104.4 kB / 0.6403 GB, free: 8.102 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.678e-05/0.5579, allocations: 47.98 kB / 0.6404 GB, free: 8.055 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.5592, allocations: 0.8135 MB / 0.6412 GB, free: 7.164 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.5592, allocations: 7.938 kB / 0.6412 GB, free: 7.156 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.127e-05/0.5593, allocations: 24 kB / 0.6412 GB, free: 7.133 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.798e-05/0.5594, allocations: 40.94 kB / 0.6413 GB, free: 7.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.5604, allocations: 0.6244 MB / 0.6419 GB, free: 6.469 MB / 478.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.004541/0.565, allocations: 3.94 MB / 0.6457 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.5656, allocations: 351.6 kB / 0.646 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.5659, allocations: 169.3 kB / 0.6462 GB, free: 1.762 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.566, allocations: 93.38 kB / 0.6463 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.5661, allocations: 34.84 kB / 0.6463 GB, free: 1.609 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.004e-06/0.5661, allocations: 0 / 0.6463 GB, free: 1.609 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005146/0.5712, allocations: 1.672 MB / 0.648 GB, free: 15.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.5713, allocations: 132.5 kB / 0.6481 GB, free: 15.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006991/0.572, allocations: 0.6093 MB / 0.6487 GB, free: 15.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/0.5721, allocations: 33.7 kB / 0.6487 GB, free: 15.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.5723, allocations: 374.7 kB / 0.6491 GB, free: 14.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.5725, allocations: 138.1 kB / 0.6492 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.5725, allocations: 12 kB / 0.6492 GB, free: 14.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.5727, allocations: 374.8 kB / 0.6496 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.573, allocations: 201.9 kB / 0.6498 GB, free: 13.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/0.5736, allocations: 0.5124 MB / 0.6503 GB, free: 13.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.5741, allocations: 300.4 kB / 0.6506 GB, free: 13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.5741, allocations: 4 kB / 0.6506 GB, free: 12.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001444/0.5755, allocations: 0.8687 MB / 0.6514 GB, free: 12.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.5756, allocations: 8 kB / 0.6514 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.5756, allocations: 12 kB / 0.6514 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.5769, allocations: 317.5 kB / 0.6517 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.5773, allocations: 131.8 kB / 0.6519 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.5784, allocations: 0.9212 MB / 0.6528 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.5789, allocations: 52.69 kB / 0.6528 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.838e-05/0.579, allocations: 71.92 kB / 0.6529 GB, free: 10.59 MB / 494.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.0003238/0.5793, allocations: 254.1 kB / 0.6531 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.5794, allocations: 63.25 kB / 0.6532 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/0.5812, allocations: 0.8696 MB / 0.654 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.5812, allocations: 4 kB / 0.654 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5812, allocations: 0 / 0.654 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.5812, allocations: 3.984 kB / 0.654 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.5832, allocations: 1.449 MB / 0.6554 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5832, allocations: 4 kB / 0.6555 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.5842, allocations: 215.9 kB / 0.6557 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.044e-05/0.5843, allocations: 16.84 kB / 0.6557 GB, free: 7.555 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.5844, allocations: 20 kB / 0.6557 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.5863, allocations: 2.692 MB / 0.6583 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5863, allocations: 4.031 kB / 0.6583 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.5875, allocations: 0.8204 MB / 0.6591 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.5878, allocations: 188.2 kB / 0.6593 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.36e-05/0.5879, allocations: 8 kB / 0.6593 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.5883, allocations: 27.98 kB / 0.6593 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.5884, allocations: 51.89 kB / 0.6594 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.805e-05/0.5885, allocations: 47.92 kB / 0.6594 GB, free: 3.383 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005062/0.589, allocations: 431 kB / 0.6598 GB, free: 2.965 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.589, allocations: 0 / 0.6598 GB, free: 2.965 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008894/0.5899, allocations: 255.9 kB / 0.6601 GB, free: 2.715 MB / 494.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.002069/0.592, allocations: 1.548 MB / 0.6616 GB, free: 1.125 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.5931, allocations: 0.5436 MB / 0.6621 GB, free: 0.582 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5931, allocations: 0 / 0.6621 GB, free: 0.582 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009794/0.5941, allocations: 418.3 kB / 0.6625 GB, free: 164 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.5958, allocations: 353.3 kB / 0.6629 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/0.6021, allocations: 4.242 MB / 0.667 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.6027, allocations: 0.93 MB / 0.6679 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00128/0.604, allocations: 466.4 kB / 0.6684 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005348/0.6045, allocations: 283.3 kB / 0.6686 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.6045, allocations: 0 / 0.6686 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04689/0.6514, allocations: 22.77 MB / 0.6909 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.6517, allocations: 272.9 kB / 0.6911 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/3.178, allocations: 0 / 0.6911 GB, free: 2.871 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