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.001004/0.001003, allocations: 101.2 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.00108/0.00108, allocations: 197.4 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.425/1.425, 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.2267/0.2267, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002668/0.0002669, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1462, allocations: 63.46 MB / 481.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4744/0.6207, allocations: 125.9 MB / 0.5931 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.6237, allocations: 1.79 MB / 0.5949 GB, free: 5.672 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.6238, allocations: 4 kB / 0.5949 GB, free: 5.668 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.6241, allocations: 39.84 kB / 0.5949 GB, free: 5.629 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.6257, allocations: 458.6 kB / 0.5954 GB, free: 5.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.6261, allocations: 79.83 kB / 0.5954 GB, free: 5.102 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.6264, allocations: 160.6 kB / 0.5956 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.104e-05/0.6265, allocations: 4.531 kB / 0.5956 GB, free: 4.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004629/0.627, allocations: 175.5 kB / 0.5958 GB, free: 4.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.6272, allocations: 75.78 kB / 0.5958 GB, free: 4.695 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.6272, allocations: 8 kB / 0.5958 GB, free: 4.688 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.6294, allocations: 0.7179 MB / 0.5965 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.6296, allocations: 71.84 kB / 0.5966 GB, free: 3.898 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.6297, allocations: 65.64 kB / 0.5967 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.6307, allocations: 462 kB / 0.5971 GB, free: 3.387 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.6307, allocations: 0 / 0.5971 GB, free: 3.387 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6308, allocations: 3.938 kB / 0.5971 GB, free: 3.383 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.6308, allocations: 0 / 0.5971 GB, free: 3.383 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.000864/0.6316, allocations: 471.9 kB / 0.5976 GB, free: 2.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.6317, allocations: 16.03 kB / 0.5976 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.654e-05/0.6318, allocations: 50.55 kB / 0.5976 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.6351, allocations: 267.4 kB / 0.5979 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.6355, allocations: 246.8 kB / 0.5981 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.6356, allocations: 12.33 kB / 0.5981 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.6357, allocations: 19.91 kB / 0.5982 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.6369, allocations: 0.4967 MB / 0.5986 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.6369, allocations: 0 / 0.5986 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.444e-05/0.637, allocations: 4 kB / 0.5986 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.637, allocations: 8 kB / 0.5987 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.6383, allocations: 0.5816 MB / 0.5992 GB, free: 1.125 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.002943/0.6413, allocations: 1.004 MB / 0.6002 GB, free: 68 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.6418, allocations: 245.1 kB / 0.6004 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/0.6431, allocations: 371.2 kB / 0.6008 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.6431, allocations: 34.56 kB / 0.6008 GB, free: 15.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.315e-06/0.6431, allocations: 4 kB / 0.6008 GB, free: 15.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002707/0.6458, allocations: 0.5996 MB / 0.6014 GB, free: 14.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.6459, allocations: 85.11 kB / 0.6015 GB, free: 14.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.6461, allocations: 133 kB / 0.6016 GB, free: 14.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.857e-05/0.6462, allocations: 33.7 kB / 0.6017 GB, free: 14.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/0.6463, allocations: 108.4 kB / 0.6018 GB, free: 14.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.6464, allocations: 106.5 kB / 0.6019 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.6465, allocations: 8 kB / 0.6019 GB, free: 14.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6466, allocations: 330.8 kB / 0.6022 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.6471, allocations: 179.9 kB / 0.6024 GB, free: 13.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/0.6476, allocations: 293.5 kB / 0.6026 GB, free: 13.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005526/0.6482, allocations: 218.2 kB / 0.6028 GB, free: 13.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.6482, allocations: 4 kB / 0.6028 GB, free: 13.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001355/0.6496, allocations: 0.5165 MB / 0.6033 GB, free: 12.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.6496, allocations: 4 kB / 0.6034 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.6496, allocations: 4.406 kB / 0.6034 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.6497, allocations: 11.95 kB / 0.6034 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007399/0.6504, allocations: 87.81 kB / 0.6035 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.6505, allocations: 7.938 kB / 0.6035 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/0.651, allocations: 39.73 kB / 0.6035 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.6511, allocations: 19.98 kB / 0.6035 GB, free: 12.49 MB / 446.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.0001881/0.6513, allocations: 149.7 kB / 0.6037 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.6514, allocations: 11.91 kB / 0.6037 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.6529, allocations: 492.8 kB / 0.6041 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.178e-06/0.6529, allocations: 4 kB / 0.6041 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.6529, allocations: 0 / 0.6041 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.6529, allocations: 3.984 kB / 0.6041 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.6541, allocations: 461.9 kB / 0.6046 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.6541, allocations: 3.75 kB / 0.6046 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.6546, allocations: 59.89 kB / 0.6046 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.6546, allocations: 0 / 0.6046 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.6547, allocations: 15.98 kB / 0.6047 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.6547, allocations: 4 kB / 0.6047 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6547, allocations: 3.953 kB / 0.6047 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.6564, allocations: 0.6939 MB / 0.6053 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.6565, allocations: 96.86 kB / 0.6054 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/0.6566, allocations: 11.98 kB / 0.6055 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007754/0.6574, allocations: 27.92 kB / 0.6055 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.6575, allocations: 15.98 kB / 0.6055 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.6575, allocations: 15.98 kB / 0.6055 GB, free: 10.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.267e-05/0.6576, allocations: 103.2 kB / 0.6056 GB, free: 10.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6576, allocations: 0 / 0.6056 GB, free: 10.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001058/0.6587, allocations: 163.9 kB / 0.6058 GB, free: 10.09 MB / 446.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.003037/0.6617, allocations: 1.495 MB / 0.6072 GB, free: 8.562 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.6628, allocations: 444 kB / 0.6076 GB, free: 8.129 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6629, allocations: 0 / 0.6076 GB, free: 8.129 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004869/0.6634, allocations: 216.6 kB / 0.6079 GB, free: 7.918 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008781/0.6643, allocations: 91.8 kB / 0.6079 GB, free: 7.828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/0.6694, allocations: 4.141 MB / 0.612 GB, free: 3.578 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.6698, allocations: 0.7485 MB / 0.6127 GB, free: 2.805 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001024/0.6709, allocations: 105.8 kB / 0.6128 GB, free: 2.699 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.6711, allocations: 59.42 kB / 0.6129 GB, free: 2.641 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6711, allocations: 0 / 0.6129 GB, free: 2.641 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.7003, allocations: 9.636 MB / 0.6223 GB, free: 9.145 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/0.7005, allocations: 165.7 kB / 0.6224 GB, free: 8.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.664, allocations: 0 / 0.6224 GB, free: 8.91 MB / 462.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