Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.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.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001056, allocations: 100.3 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246 MB, free: 10.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2339/0.2339, allocations: 45.92 MB / 344.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003034, allocations: 12 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1652, allocations: 63.46 MB / 481.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5271/0.6923, allocations: 135.8 MB / 0.603 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.6947, allocations: 2.032 MB / 0.605 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.6948, allocations: 0 / 0.605 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.6951, allocations: 35.8 kB / 0.605 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.6962, allocations: 449.2 kB / 0.6054 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.6965, allocations: 84.14 kB / 0.6055 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003734/0.6968, allocations: 306.9 kB / 0.6058 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.6969, allocations: 8.531 kB / 0.6058 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.6972, allocations: 119.5 kB / 0.6059 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.6974, allocations: 111.7 kB / 0.606 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.6974, allocations: 8 kB / 0.606 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.6989, allocations: 0.8656 MB / 0.6069 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.699, allocations: 83.81 kB / 0.607 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/0.6991, allocations: 57.64 kB / 0.607 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005998/0.6997, allocations: 0.4894 MB / 0.6075 GB, free: 9.852 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6997, allocations: 4 kB / 0.6075 GB, free: 9.848 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.6997, allocations: 3.938 kB / 0.6075 GB, free: 9.844 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.6997, allocations: 0 / 0.6075 GB, free: 9.844 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006421/0.7004, allocations: 468 kB / 0.608 GB, free: 9.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.7004, allocations: 12.03 kB / 0.608 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.453e-05/0.7005, allocations: 50.55 kB / 0.608 GB, free: 9.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005905/0.7064, allocations: 0.7336 MB / 0.6087 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.7069, allocations: 278.7 kB / 0.609 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.7069, allocations: 12.33 kB / 0.609 GB, free: 8.211 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.336e-05/0.707, allocations: 19.91 kB / 0.609 GB, free: 8.191 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.7083, allocations: 0.6957 MB / 0.6097 GB, free: 7.484 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.7083, allocations: 3.938 kB / 0.6097 GB, free: 7.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.836e-05/0.7084, allocations: 11.98 kB / 0.6097 GB, free: 7.469 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.7084, allocations: 11.94 kB / 0.6097 GB, free: 7.457 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.7103, allocations: 0.9134 MB / 0.6106 GB, free: 6.543 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.004355/0.7147, allocations: 1.992 MB / 0.6126 GB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.7157, allocations: 0.5026 MB / 0.6131 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006128/0.7164, allocations: 332.5 kB / 0.6134 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008254/0.7172, allocations: 379.3 kB / 0.6137 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.7172, allocations: 38.56 kB / 0.6138 GB, free: 3.047 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.725e-06/0.7172, allocations: 0 / 0.6138 GB, free: 3.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002042/0.7193, allocations: 0.8916 MB / 0.6147 GB, free: 2.148 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.7193, allocations: 81.11 kB / 0.6147 GB, free: 2.051 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.7195, allocations: 129.8 kB / 0.6149 GB, free: 1.914 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.7195, allocations: 29.7 kB / 0.6149 GB, free: 1.879 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.7196, allocations: 116.4 kB / 0.615 GB, free: 1.762 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.7197, allocations: 110.4 kB / 0.6151 GB, free: 1.652 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.7198, allocations: 8 kB / 0.6151 GB, free: 1.645 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.7199, allocations: 326.8 kB / 0.6154 GB, free: 1.316 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000596/0.7205, allocations: 299.6 kB / 0.6157 GB, free: 1.023 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006353/0.7211, allocations: 405.4 kB / 0.6161 GB, free: 0.582 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/0.7218, allocations: 323.8 kB / 0.6164 GB, free: 272 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.7218, allocations: 0 / 0.6164 GB, free: 272 kB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001517/0.7233, allocations: 0.7379 MB / 0.6171 GB, free: 15.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.7233, allocations: 15.97 kB / 0.6171 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.7233, allocations: 0 / 0.6171 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.7234, allocations: 8 kB / 0.6171 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008896/0.7243, allocations: 99.84 kB / 0.6172 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.7243, allocations: 7.938 kB / 0.6172 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006986/0.725, allocations: 55.7 kB / 0.6173 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-05/0.7251, allocations: 23.98 kB / 0.6173 GB, free: 15.32 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002124/0.7253, allocations: 145.7 kB / 0.6175 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.7254, allocations: 23.84 kB / 0.6175 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/0.7273, allocations: 0.7761 MB / 0.6182 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.7273, allocations: 4 kB / 0.6182 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7273, allocations: 3.938 kB / 0.6182 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.7274, allocations: 3.984 kB / 0.6182 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/0.7284, allocations: 0.7947 MB / 0.619 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7284, allocations: 0 / 0.619 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008646/0.7292, allocations: 79.86 kB / 0.6191 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.7293, allocations: 4 kB / 0.6191 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/0.7293, allocations: 15.98 kB / 0.6191 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.7293, allocations: 0 / 0.6191 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.7293, allocations: 4 kB / 0.6191 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.7312, allocations: 0.9575 MB / 0.6201 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.018e-05/0.7313, allocations: 96.81 kB / 0.6202 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-05/0.7314, allocations: 8 kB / 0.6202 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007855/0.7322, allocations: 39.95 kB / 0.6202 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.7323, allocations: 19.97 kB / 0.6202 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-05/0.7323, allocations: 19.98 kB / 0.6202 GB, free: 12.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.416e-05/0.7324, allocations: 99.25 kB / 0.6203 GB, free: 12.08 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7325, allocations: 0 / 0.6203 GB, free: 12.08 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009468/0.7334, allocations: 191.9 kB / 0.6205 GB, free: 11.89 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.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 (28): * Single equations (assignments): 28 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003145/0.7366, allocations: 1.684 MB / 0.6222 GB, free: 10.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.738, allocations: 0.6566 MB / 0.6228 GB, free: 9.527 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.738, allocations: 0 / 0.6228 GB, free: 9.527 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006513/0.7386, allocations: 327.7 kB / 0.6231 GB, free: 9.207 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007337/0.7394, allocations: 99.28 kB / 0.6232 GB, free: 9.113 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.7434, allocations: 2.385 MB / 0.6255 GB, free: 6.633 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.7437, allocations: 0.7368 MB / 0.6263 GB, free: 5.871 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001341/0.745, allocations: 186.4 kB / 0.6264 GB, free: 5.688 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.7453, allocations: 67.39 kB / 0.6265 GB, free: 5.621 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7454, allocations: 0 / 0.6265 GB, free: 5.621 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.7704, allocations: 11.95 MB / 0.6382 GB, free: 9.77 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/0.7707, allocations: 177.2 kB / 0.6383 GB, free: 9.531 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/2.855, allocations: 4.062 kB / 0.6383 GB, free: 9.527 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat