Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 98.38 kB / 16.99 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.001/0.001, allocations: 198.3 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1486, allocations: 63.46 MB / 481.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4448/0.5935, allocations: 125.8 MB / 0.593 GB, free: 7.574 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.5951, allocations: 1.306 MB / 0.5943 GB, free: 6.266 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.5951, allocations: 7.938 kB / 0.5943 GB, free: 6.258 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.5954, allocations: 39.8 kB / 0.5944 GB, free: 6.219 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007361/0.5962, allocations: 291.2 kB / 0.5946 GB, free: 5.934 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.5966, allocations: 131.7 kB / 0.5948 GB, free: 5.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.5968, allocations: 116.5 kB / 0.5949 GB, free: 5.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.5968, allocations: 4 kB / 0.5949 GB, free: 5.688 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.597, allocations: 79.75 kB / 0.595 GB, free: 5.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.5971, allocations: 47.83 kB / 0.595 GB, free: 5.562 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.5972, allocations: 4 kB / 0.595 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008639/0.598, allocations: 447.4 kB / 0.5954 GB, free: 5.121 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.5981, allocations: 35.89 kB / 0.5955 GB, free: 5.086 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/0.5982, allocations: 41.7 kB / 0.5955 GB, free: 5.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004077/0.5986, allocations: 271.3 kB / 0.5958 GB, free: 4.785 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.5986, allocations: 3.938 kB / 0.5958 GB, free: 4.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5986, allocations: 0 / 0.5958 GB, free: 4.781 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.5986, allocations: 0 / 0.5958 GB, free: 4.781 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004794/0.5991, allocations: 404.1 kB / 0.5962 GB, free: 4.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.5991, allocations: 12.03 kB / 0.5962 GB, free: 4.328 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.5992, allocations: 38.55 kB / 0.5962 GB, free: 4.281 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/0.6014, allocations: 199.6 kB / 0.5964 GB, free: 4.086 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.6017, allocations: 210.9 kB / 0.5966 GB, free: 3.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.6017, allocations: 4.938 kB / 0.5966 GB, free: 3.836 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.6018, allocations: 15.91 kB / 0.5966 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.6022, allocations: 209.8 kB / 0.5968 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6023, allocations: 0 / 0.5968 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.6023, allocations: 8 kB / 0.5968 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.6023, allocations: 7.984 kB / 0.5968 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000563/0.6029, allocations: 228.4 kB / 0.597 GB, free: 3.375 MB / 430.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.001739/0.6046, allocations: 0.6689 MB / 0.5977 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.6051, allocations: 195.2 kB / 0.5979 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.6052, allocations: 85.09 kB / 0.598 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.6053, allocations: 38.56 kB / 0.598 GB, free: 2.305 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.6053, allocations: 0 / 0.598 GB, free: 2.305 MB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005744/0.611, allocations: 1.532 MB / 0.5995 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.6111, allocations: 51.41 kB / 0.5995 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.6112, allocations: 113.8 kB / 0.5997 GB, free: 492 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.6113, allocations: 29.7 kB / 0.5997 GB, free: 456 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.6114, allocations: 104.2 kB / 0.5998 GB, free: 348 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.604e-05/0.6114, allocations: 70.98 kB / 0.5999 GB, free: 276 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.6115, allocations: 4 kB / 0.5999 GB, free: 272 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.6116, allocations: 322.8 kB / 0.6002 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.6118, allocations: 91.89 kB / 0.6003 GB, free: 15.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.6121, allocations: 127.3 kB / 0.6004 GB, free: 15.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.6123, allocations: 95.98 kB / 0.6005 GB, free: 15.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.6123, allocations: 0 / 0.6005 GB, free: 15.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005898/0.6129, allocations: 285.4 kB / 0.6007 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.6129, allocations: 8 kB / 0.6007 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.613, allocations: 3.984 kB / 0.6007 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/0.6131, allocations: 20.84 kB / 0.6008 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004533/0.6136, allocations: 55.91 kB / 0.6008 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003386/0.6139, allocations: 0.5446 MB / 0.6014 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.6142, allocations: 7.969 kB / 0.6014 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.6143, allocations: 15.98 kB / 0.6014 GB, free: 14.65 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.6144, allocations: 121.8 kB / 0.6015 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.6145, allocations: 15.89 kB / 0.6015 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007582/0.6152, allocations: 315.4 kB / 0.6018 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.6153, allocations: 4 kB / 0.6018 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6153, allocations: 0 / 0.6018 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.6153, allocations: 0 / 0.6018 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.6163, allocations: 0.67 MB / 0.6025 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.6164, allocations: 4 kB / 0.6025 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.6168, allocations: 51.89 kB / 0.6025 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.966e-05/0.6169, allocations: 24.94 kB / 0.6025 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.617, allocations: 8 kB / 0.6026 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009388/0.6179, allocations: 1.269 MB / 0.6038 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.6179, allocations: 8.016 kB / 0.6038 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000816/0.6187, allocations: 482.3 kB / 0.6043 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.6188, allocations: 89.03 kB / 0.6043 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.6189, allocations: 15.94 kB / 0.6044 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/0.6192, allocations: 12 kB / 0.6044 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.6193, allocations: 20.03 kB / 0.6044 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.6193, allocations: 12 kB / 0.6044 GB, free: 11.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.102e-05/0.6194, allocations: 87.2 kB / 0.6045 GB, free: 11.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6194, allocations: 0 / 0.6045 GB, free: 11.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005549/0.6199, allocations: 131.9 kB / 0.6046 GB, free: 11.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (19): * Single equations (assignments): 18 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001621/0.6216, allocations: 1.356 MB / 0.6059 GB, free: 9.645 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005855/0.6222, allocations: 223.8 kB / 0.6061 GB, free: 9.426 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6222, allocations: 0 / 0.6061 GB, free: 9.426 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.6226, allocations: 242.7 kB / 0.6064 GB, free: 9.176 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.6229, allocations: 54.95 kB / 0.6064 GB, free: 9.125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.6251, allocations: 1.602 MB / 0.608 GB, free: 7.453 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.6254, allocations: 0.7166 MB / 0.6087 GB, free: 6.711 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004193/0.6258, allocations: 49.39 kB / 0.6087 GB, free: 6.664 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.626, allocations: 39.42 kB / 0.6088 GB, free: 6.625 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.626, allocations: 0 / 0.6088 GB, free: 6.625 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.6462, allocations: 7.516 MB / 0.6161 GB, free: 15.26 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/0.6464, allocations: 209.1 kB / 0.6163 GB, free: 15.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.595, allocations: 0 / 0.6163 GB, free: 15.02 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat