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.0009875/0.0009876, allocations: 98.12 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.001366/0.001366, allocations: 192 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.475/1.475, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2597/0.2597, allocations: 45.92 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003058, allocations: 11.94 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1519, allocations: 63.47 MB / 481.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4622/0.6142, allocations: 135.7 MB / 0.6029 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.6163, allocations: 1.487 MB / 0.6043 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.515e-05/0.6165, allocations: 4 kB / 0.6043 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.6168, allocations: 31.81 kB / 0.6044 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.6178, allocations: 291.7 kB / 0.6046 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.6183, allocations: 131.6 kB / 0.6048 GB, free: 12.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.6186, allocations: 203.2 kB / 0.605 GB, free: 12.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.082e-05/0.6187, allocations: 4 kB / 0.605 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.6189, allocations: 75.69 kB / 0.605 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.6191, allocations: 59.81 kB / 0.6051 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.6191, allocations: 8 kB / 0.6051 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.6202, allocations: 450.1 kB / 0.6055 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.6203, allocations: 23.95 kB / 0.6056 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.631e-05/0.6204, allocations: 45.64 kB / 0.6056 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005107/0.6209, allocations: 269.7 kB / 0.6059 GB, free: 11.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6209, allocations: 0 / 0.6059 GB, free: 11.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6209, allocations: 0 / 0.6059 GB, free: 11.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.6209, allocations: 0 / 0.6059 GB, free: 11.57 MB / 446.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.0005979/0.6215, allocations: 420 kB / 0.6063 GB, free: 11.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6216, allocations: 8.031 kB / 0.6063 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.865e-05/0.6217, allocations: 38.56 kB / 0.6063 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.6237, allocations: 191.6 kB / 0.6065 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.624, allocations: 214.9 kB / 0.6067 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.624, allocations: 4.172 kB / 0.6067 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.624, allocations: 15.91 kB / 0.6067 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.6245, allocations: 202 kB / 0.6069 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.6245, allocations: 0 / 0.6069 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.6246, allocations: 4 kB / 0.6069 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6246, allocations: 4 kB / 0.6069 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000559/0.6251, allocations: 236.6 kB / 0.6071 GB, free: 10.16 MB / 446.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.001648/0.6268, allocations: 0.6799 MB / 0.6078 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.6272, allocations: 182.5 kB / 0.608 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.6274, allocations: 84.83 kB / 0.608 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001646/0.6276, allocations: 97.09 kB / 0.6081 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.6276, allocations: 38.55 kB / 0.6082 GB, free: 8.996 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.854e-06/0.6276, allocations: 0 / 0.6082 GB, free: 8.996 MB / 446.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.005126/0.6328, allocations: 1.542 MB / 0.6097 GB, free: 7.344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.6328, allocations: 55.41 kB / 0.6097 GB, free: 7.277 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.6329, allocations: 109.8 kB / 0.6098 GB, free: 7.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.633, allocations: 29.7 kB / 0.6099 GB, free: 7.125 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.633, allocations: 100.2 kB / 0.61 GB, free: 7.023 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/0.6331, allocations: 67.02 kB / 0.61 GB, free: 6.957 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.6331, allocations: 4 kB / 0.61 GB, free: 6.953 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6333, allocations: 326.8 kB / 0.6103 GB, free: 6.625 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.6335, allocations: 91.95 kB / 0.6104 GB, free: 6.535 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.6337, allocations: 122.8 kB / 0.6105 GB, free: 6.406 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.6339, allocations: 99.98 kB / 0.6106 GB, free: 6.309 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.6339, allocations: 0 / 0.6106 GB, free: 6.309 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000579/0.6345, allocations: 285.9 kB / 0.6109 GB, free: 6.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.6346, allocations: 4 kB / 0.6109 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6346, allocations: 0 / 0.6109 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/0.6347, allocations: 32.25 kB / 0.611 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.6351, allocations: 55.89 kB / 0.611 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003629/0.6355, allocations: 0.5367 MB / 0.6115 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.6358, allocations: 8.031 kB / 0.6115 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.6358, allocations: 11.98 kB / 0.6115 GB, free: 5.352 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.0001417/0.636, allocations: 133.8 kB / 0.6117 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.636, allocations: 11.84 kB / 0.6117 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007698/0.6368, allocations: 321.4 kB / 0.612 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.6368, allocations: 4 kB / 0.612 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6369, allocations: 0 / 0.612 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.6369, allocations: 3.953 kB / 0.612 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.638, allocations: 0.6667 MB / 0.6127 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.638, allocations: 0 / 0.6127 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.6384, allocations: 55.89 kB / 0.6127 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.397e-05/0.6385, allocations: 16.84 kB / 0.6127 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.6386, allocations: 15.92 kB / 0.6127 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000931/0.6395, allocations: 1.273 MB / 0.614 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6395, allocations: 0 / 0.614 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008199/0.6403, allocations: 450.8 kB / 0.6144 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.6404, allocations: 89.05 kB / 0.6145 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.6405, allocations: 0.875 kB / 0.6145 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.6408, allocations: 20.05 kB / 0.6145 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.6408, allocations: 11.98 kB / 0.6145 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.6408, allocations: 11.98 kB / 0.6145 GB, free: 2.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.947e-05/0.6409, allocations: 87.28 kB / 0.6146 GB, free: 1.938 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.8e-07/0.6409, allocations: 0 / 0.6146 GB, free: 1.938 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006248/0.6415, allocations: 135.9 kB / 0.6147 GB, free: 1.805 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.001665/0.6432, allocations: 1.109 MB / 0.6158 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000597/0.6438, allocations: 227.8 kB / 0.616 GB, free: 444 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6438, allocations: 0 / 0.616 GB, free: 444 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.6443, allocations: 238.6 kB / 0.6163 GB, free: 192 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.6448, allocations: 54.47 kB / 0.6163 GB, free: 140 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.6471, allocations: 1.168 MB / 0.6175 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.6475, allocations: 0.7087 MB / 0.6182 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004364/0.6479, allocations: 57.38 kB / 0.6182 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.6481, allocations: 43.36 kB / 0.6183 GB, free: 14.07 MB / 462.1 MB Notification: Performance of SimCode: time 6.32e-07/0.6481, allocations: 0 / 0.6183 GB, free: 14.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.034/0.6821, allocations: 7.537 MB / 0.6256 GB, free: 6.68 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003181/0.6825, allocations: 213.4 kB / 0.6258 GB, free: 6.438 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.631, allocations: 0 / 0.6258 GB, free: 6.438 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