Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 94.06 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001709/0.001709, allocations: 205 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.3 MB / 245.9 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 45.92 MB / 344 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.00031, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1247, allocations: 63.45 MB / 481.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4992/0.624, allocations: 141.9 MB / 0.6089 GB, free: 7.254 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008826/0.6329, allocations: 5.521 MB / 0.6143 GB, free: 1.727 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.634, allocations: 27.75 kB / 0.6143 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009506/0.6349, allocations: 266.7 kB / 0.6145 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.6385, allocations: 0.9911 MB / 0.6155 GB, free: 460 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.6408, allocations: 0.7672 MB / 0.6162 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.6426, allocations: 1.051 MB / 0.6173 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005788/0.6432, allocations: 379.8 kB / 0.6176 GB, free: 14.26 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.6449, allocations: 0.7518 MB / 0.6184 GB, free: 13.51 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006871/0.6456, allocations: 454.5 kB / 0.6188 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.983e-05/0.6457, allocations: 32 kB / 0.6188 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.647, allocations: 0.4917 MB / 0.6193 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002459/0.6473, allocations: 215.4 kB / 0.6195 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.6474, allocations: 165.3 kB / 0.6197 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.6485, allocations: 0.9157 MB / 0.6206 GB, free: 11.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6485, allocations: 0 / 0.6206 GB, free: 11.25 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.6485, allocations: 0 / 0.6206 GB, free: 11.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.6486, allocations: 3.938 kB / 0.6206 GB, free: 11.24 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.002074/0.6506, allocations: 0.9543 MB / 0.6215 GB, free: 10.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.6507, allocations: 8.031 kB / 0.6215 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.6509, allocations: 110.4 kB / 0.6216 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007728/0.6516, allocations: 135 kB / 0.6218 GB, free: 9.977 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009492/0.6526, allocations: 488.6 kB / 0.6222 GB, free: 9.461 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.6528, allocations: 108.4 kB / 0.6223 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.894e-05/0.6529, allocations: 44 kB / 0.6224 GB, free: 9.297 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.6543, allocations: 0.8165 MB / 0.6232 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.6543, allocations: 3.938 kB / 0.6232 GB, free: 8.402 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.428e-05/0.6544, allocations: 23.98 kB / 0.6232 GB, free: 8.379 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.04e-05/0.6545, allocations: 40.94 kB / 0.6232 GB, free: 8.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.6556, allocations: 0.6287 MB / 0.6238 GB, free: 7.711 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.00469/0.6603, allocations: 3.925 MB / 0.6277 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.6609, allocations: 351.6 kB / 0.628 GB, free: 3.188 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.661, allocations: 85.39 kB / 0.6281 GB, free: 3.086 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.6611, allocations: 42.84 kB / 0.6281 GB, free: 3.035 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.294e-06/0.6611, allocations: 0 / 0.6281 GB, free: 3.035 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005672/0.6667, allocations: 1.676 MB / 0.6298 GB, free: 1.285 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.864e-05/0.6669, allocations: 132.5 kB / 0.6299 GB, free: 1.125 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007737/0.6676, allocations: 0.6093 MB / 0.6305 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.6677, allocations: 37.7 kB / 0.6305 GB, free: 472 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.668, allocations: 366.8 kB / 0.6309 GB, free: 96 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.6682, allocations: 142.1 kB / 0.631 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.6682, allocations: 16 kB / 0.631 GB, free: 15.94 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.6684, allocations: 374.8 kB / 0.6314 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.6688, allocations: 197.9 kB / 0.6316 GB, free: 15.37 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.6694, allocations: 0.5085 MB / 0.6321 GB, free: 14.71 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.6699, allocations: 296.4 kB / 0.6323 GB, free: 14.42 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.6699, allocations: 4 kB / 0.6324 GB, free: 14.42 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001427/0.6713, allocations: 0.8762 MB / 0.6332 GB, free: 13.53 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.6713, allocations: 10.03 kB / 0.6332 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.6714, allocations: 12 kB / 0.6332 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/0.6728, allocations: 321 kB / 0.6335 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.6732, allocations: 119.8 kB / 0.6337 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.6744, allocations: 0.9368 MB / 0.6346 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/0.675, allocations: 55.88 kB / 0.6346 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/0.6751, allocations: 64 kB / 0.6347 GB, free: 12 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.0003838/0.6755, allocations: 246 kB / 0.6349 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.6756, allocations: 67.25 kB / 0.635 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.6774, allocations: 0.8618 MB / 0.6358 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.6775, allocations: 7.938 kB / 0.6358 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6775, allocations: 0 / 0.6358 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6775, allocations: 4 kB / 0.6358 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.6797, allocations: 1.444 MB / 0.6372 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6797, allocations: 4 kB / 0.6372 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.6808, allocations: 212 kB / 0.6374 GB, free: 9.004 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001122/0.6809, allocations: 28.77 kB / 0.6375 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.681, allocations: 24 kB / 0.6375 GB, free: 8.949 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.6834, allocations: 2.696 MB / 0.6401 GB, free: 5.992 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6834, allocations: 3.938 kB / 0.6401 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.6848, allocations: 0.8936 MB / 0.641 GB, free: 5.02 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/0.6852, allocations: 184.2 kB / 0.6412 GB, free: 4.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.6853, allocations: 8 kB / 0.6412 GB, free: 4.812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.6858, allocations: 31.97 kB / 0.6412 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.6859, allocations: 39.98 kB / 0.6413 GB, free: 4.742 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.988e-05/0.686, allocations: 47.97 kB / 0.6413 GB, free: 4.695 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000642/0.6867, allocations: 427 kB / 0.6417 GB, free: 4.281 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6867, allocations: 0 / 0.6417 GB, free: 4.281 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001146/0.6878, allocations: 255.9 kB / 0.642 GB, free: 4.031 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.003042/0.6909, allocations: 2.034 MB / 0.6439 GB, free: 1.934 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.6922, allocations: 0.5584 MB / 0.6445 GB, free: 1.375 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.6923, allocations: 0 / 0.6445 GB, free: 1.375 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.6934, allocations: 419.4 kB / 0.6449 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.6953, allocations: 326.7 kB / 0.6452 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.7081, allocations: 10.85 MB / 0.6558 GB, free: 5.516 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.7092, allocations: 0.9417 MB / 0.6567 GB, free: 4.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001588/0.7108, allocations: 465.8 kB / 0.6572 GB, free: 4.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006758/0.7115, allocations: 283.3 kB / 0.6574 GB, free: 3.812 MB / 494.1 MB Notification: Performance of SimCode: time 1.362e-06/0.7116, allocations: 0 / 0.6574 GB, free: 3.812 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04856/0.7601, allocations: 22.77 MB / 0.6797 GB, free: 13.35 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/0.7604, allocations: 267.5 kB / 0.6799 GB, free: 13 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.389/3.149, allocations: 0 / 0.6799 GB, free: 13 MB / 0.5138 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat