Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 95.98 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 187.1 kB / 17.89 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 223.2 MB / 241.9 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2486/0.2486, allocations: 44.23 MB / 337.2 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 4 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1681, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5016/0.6698, allocations: 135.8 MB / 0.5932 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.6722, allocations: 2.034 MB / 0.5952 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.6723, allocations: 4 kB / 0.5952 GB, free: 9.328 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.6726, allocations: 35.8 kB / 0.5952 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.6739, allocations: 441.9 kB / 0.5956 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.6742, allocations: 89 kB / 0.5957 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.6746, allocations: 307 kB / 0.596 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.6746, allocations: 4 kB / 0.596 GB, free: 8.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002816/0.6749, allocations: 123.5 kB / 0.5961 GB, free: 8.352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.6752, allocations: 107.7 kB / 0.5962 GB, free: 8.246 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.6752, allocations: 8 kB / 0.5962 GB, free: 8.238 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.6768, allocations: 0.8579 MB / 0.5971 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.6769, allocations: 87.75 kB / 0.5972 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.677, allocations: 65.58 kB / 0.5972 GB, free: 7.223 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008158/0.6778, allocations: 489.2 kB / 0.5977 GB, free: 6.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6778, allocations: 4 kB / 0.5977 GB, free: 6.742 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6778, allocations: 4 kB / 0.5977 GB, free: 6.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.6779, allocations: 0 / 0.5977 GB, free: 6.738 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.0009423/0.6788, allocations: 474.2 kB / 0.5981 GB, free: 6.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.6789, allocations: 8.031 kB / 0.5982 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.393e-05/0.679, allocations: 54.55 kB / 0.5982 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006133/0.6851, allocations: 0.7292 MB / 0.5989 GB, free: 5.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.6856, allocations: 274.8 kB / 0.5992 GB, free: 5.121 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.6856, allocations: 16.28 kB / 0.5992 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.6857, allocations: 23.91 kB / 0.5992 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.6871, allocations: 0.6995 MB / 0.5999 GB, free: 4.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.6871, allocations: 4 kB / 0.5999 GB, free: 4.367 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.84e-05/0.6872, allocations: 4 kB / 0.5999 GB, free: 4.363 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.6872, allocations: 8 kB / 0.5999 GB, free: 4.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.6892, allocations: 0.9095 MB / 0.6008 GB, free: 3.445 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.004365/0.6935, allocations: 1.993 MB / 0.6027 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.6946, allocations: 0.5009 MB / 0.6032 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/0.6953, allocations: 317.7 kB / 0.6035 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008117/0.6961, allocations: 379.1 kB / 0.6039 GB, free: 4 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.6961, allocations: 42.5 kB / 0.6039 GB, free: 15.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/0.6961, allocations: 4 kB / 0.6039 GB, free: 15.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002061/0.6982, allocations: 0.8919 MB / 0.6048 GB, free: 15.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.6983, allocations: 81.11 kB / 0.6049 GB, free: 14.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.6984, allocations: 133.8 kB / 0.605 GB, free: 14.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.6985, allocations: 29.7 kB / 0.6051 GB, free: 14.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.6985, allocations: 108.4 kB / 0.6052 GB, free: 14.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.6987, allocations: 114.4 kB / 0.6053 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.6987, allocations: 4 kB / 0.6053 GB, free: 14.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.6988, allocations: 334.7 kB / 0.6056 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006024/0.6994, allocations: 295.8 kB / 0.6059 GB, free: 13.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/0.7001, allocations: 413.2 kB / 0.6063 GB, free: 13.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006396/0.7008, allocations: 314.5 kB / 0.6066 GB, free: 13.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.7008, allocations: 4 kB / 0.6066 GB, free: 13.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001511/0.7023, allocations: 0.7399 MB / 0.6073 GB, free: 12.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.7023, allocations: 6.906 kB / 0.6073 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.7023, allocations: 8 kB / 0.6073 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.7024, allocations: 11.95 kB / 0.6073 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009119/0.7033, allocations: 99.78 kB / 0.6074 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.7033, allocations: 4 kB / 0.6074 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/0.704, allocations: 59.7 kB / 0.6075 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.315e-05/0.7041, allocations: 19.98 kB / 0.6075 GB, free: 12.22 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.0001963/0.7043, allocations: 150.2 kB / 0.6076 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.7045, allocations: 15.91 kB / 0.6076 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.7064, allocations: 0.7893 MB / 0.6084 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.7064, allocations: 4 kB / 0.6084 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7064, allocations: 0 / 0.6084 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.7064, allocations: 3.984 kB / 0.6084 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.7074, allocations: 0.8019 MB / 0.6092 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.7074, allocations: 0 / 0.6092 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008887/0.7083, allocations: 75.92 kB / 0.6093 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.7083, allocations: 0 / 0.6093 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.7084, allocations: 15.98 kB / 0.6093 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.7084, allocations: 11.89 kB / 0.6093 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.7084, allocations: 3.938 kB / 0.6093 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.7103, allocations: 0.9577 MB / 0.6102 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.7104, allocations: 96.86 kB / 0.6103 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.983e-05/0.7105, allocations: 8 kB / 0.6103 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008442/0.7114, allocations: 31.95 kB / 0.6104 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.7114, allocations: 23.92 kB / 0.6104 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.319e-05/0.7115, allocations: 23.97 kB / 0.6104 GB, free: 9.066 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.815e-05/0.7116, allocations: 101.6 kB / 0.6105 GB, free: 8.969 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7116, allocations: 0 / 0.6105 GB, free: 8.969 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009538/0.7126, allocations: 187.8 kB / 0.6107 GB, free: 8.785 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.00314/0.7157, allocations: 1.691 MB / 0.6124 GB, free: 7.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.7171, allocations: 0.6525 MB / 0.613 GB, free: 6.418 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7171, allocations: 4 kB / 0.613 GB, free: 6.414 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006395/0.7178, allocations: 323.8 kB / 0.6133 GB, free: 6.098 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007257/0.7185, allocations: 87.97 kB / 0.6134 GB, free: 6.012 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.7226, allocations: 2.379 MB / 0.6157 GB, free: 3.543 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.7229, allocations: 0.7405 MB / 0.6164 GB, free: 2.773 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001368/0.7243, allocations: 182.4 kB / 0.6166 GB, free: 2.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.7247, allocations: 71.39 kB / 0.6167 GB, free: 2.52 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.7247, allocations: 0 / 0.6167 GB, free: 2.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.7497, allocations: 11.94 MB / 0.6283 GB, free: 6.684 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/0.75, allocations: 167.2 kB / 0.6285 GB, free: 6.449 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/2.896, allocations: 0 / 0.6285 GB, free: 6.449 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat