Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.0016, allocations: 184.4 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001158, allocations: 103.2 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5369/0.5369, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004595, allocations: 16 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1487, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.5331/0.6818, allocations: 126.4 MB / 0.6022 GB, free: 8.031 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01727/0.6992, allocations: 6.812 MB / 0.6089 GB, free: 1.828 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002807/0.6995, allocations: 0 / 0.6089 GB, free: 1.828 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004935/0.7, allocations: 56.36 kB / 0.6089 GB, free: 1.793 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.7106, allocations: 1.751 MB / 0.6106 GB, free: 132 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008409/0.7115, allocations: 135.9 kB / 0.6108 GB, free: 4 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.7127, allocations: 327.8 kB / 0.6111 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.7129, allocations: 19.22 kB / 0.6111 GB, free: 15.67 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.714, allocations: 291.1 kB / 0.6114 GB, free: 15.39 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.7157, allocations: 363.4 kB / 0.6117 GB, free: 15.03 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.7158, allocations: 8 kB / 0.6117 GB, free: 15.02 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01401/0.7299, allocations: 2.637 MB / 0.6143 GB, free: 12.38 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003624/0.7303, allocations: 155.6 kB / 0.6145 GB, free: 12.23 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.7305, allocations: 105.5 kB / 0.6146 GB, free: 12.12 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005223/0.7358, allocations: 1.258 MB / 0.6158 GB, free: 10.87 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.7359, allocations: 0 / 0.6158 GB, free: 10.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.7359, allocations: 0 / 0.6158 GB, free: 10.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.7359, allocations: 0 / 0.6158 GB, free: 10.87 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.004379/0.7403, allocations: 0.8539 MB / 0.6166 GB, free: 9.973 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/0.7404, allocations: 12.03 kB / 0.6166 GB, free: 9.961 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002555/0.7407, allocations: 82.52 kB / 0.6167 GB, free: 9.871 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009212/0.7499, allocations: 0.5067 MB / 0.6172 GB, free: 9.363 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000805/0.7508, allocations: 322.5 kB / 0.6175 GB, free: 9.008 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.751, allocations: 127.5 kB / 0.6176 GB, free: 8.859 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.7512, allocations: 37.02 kB / 0.6177 GB, free: 8.824 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003362/0.7546, allocations: 1.105 MB / 0.6187 GB, free: 7.688 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.7547, allocations: 0 / 0.6187 GB, free: 7.688 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002516/0.7549, allocations: 15.95 kB / 0.6188 GB, free: 7.672 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001487/0.7551, allocations: 60.95 kB / 0.6188 GB, free: 7.613 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007882/0.763, allocations: 2.268 MB / 0.621 GB, free: 5.344 MB / 442.7 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.007262/0.7703, allocations: 2.442 MB / 0.6234 GB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/0.7709, allocations: 137.9 kB / 0.6235 GB, free: 2.609 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003016/0.7739, allocations: 1.192 MB / 0.6247 GB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.774, allocations: 34.75 kB / 0.6247 GB, free: 1.203 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 4.068e-06/0.7741, allocations: 0 / 0.6247 GB, free: 1.203 MB / 442.7 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=22): time 0.002537/0.7766, allocations: 362.8 kB / 0.6251 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.7767, allocations: 59.41 kB / 0.6251 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007707/0.7775, allocations: 344.2 kB / 0.6255 GB, free: 444 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.894e-05/0.7776, allocations: 29.7 kB / 0.6255 GB, free: 408 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004737/0.7781, allocations: 416 kB / 0.6259 GB, free: 15.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.7783, allocations: 86.92 kB / 0.626 GB, free: 15.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.922e-05/0.7784, allocations: 16 kB / 0.626 GB, free: 15.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000249/0.7787, allocations: 338.8 kB / 0.6263 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/0.7791, allocations: 117.9 kB / 0.6264 GB, free: 15.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009693/0.7801, allocations: 0.5647 MB / 0.627 GB, free: 14.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/0.7809, allocations: 237.2 kB / 0.6272 GB, free: 14.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-05/0.781, allocations: 4 kB / 0.6272 GB, free: 14.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003138/0.7841, allocations: 0.7344 MB / 0.6279 GB, free: 13.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.7842, allocations: 12 kB / 0.6279 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.091e-05/0.7842, allocations: 19.98 kB / 0.628 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.212e-05/0.7843, allocations: 20 kB / 0.628 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.7857, allocations: 187.7 kB / 0.6282 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006538/0.7864, allocations: 0.6138 MB / 0.6288 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.7875, allocations: 98.91 kB / 0.6289 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.7877, allocations: 63.92 kB / 0.6289 GB, free: 12.64 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0004599/0.7882, allocations: 209.4 kB / 0.6291 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007201/0.7889, allocations: 83.64 kB / 0.6292 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.7902, allocations: 273.5 kB / 0.6295 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.7902, allocations: 7.984 kB / 0.6295 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7903, allocations: 3.938 kB / 0.6295 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.7903, allocations: 0 / 0.6295 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.7923, allocations: 0.7423 MB / 0.6302 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.7923, allocations: 0 / 0.6302 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.7927, allocations: 39.92 kB / 0.6302 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.868e-05/0.7927, allocations: 8.234 kB / 0.6302 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.7928, allocations: 16 kB / 0.6303 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005253/0.7933, allocations: 0.5899 MB / 0.6308 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.7933, allocations: 1.25 kB / 0.6308 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008237/0.7942, allocations: 406.3 kB / 0.6312 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.7945, allocations: 124.7 kB / 0.6313 GB, free: 9.895 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.7946, allocations: 7.984 kB / 0.6313 GB, free: 9.887 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006462/0.7953, allocations: 19.95 kB / 0.6314 GB, free: 9.867 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.7954, allocations: 15.98 kB / 0.6314 GB, free: 9.852 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.7954, allocations: 16.08 kB / 0.6314 GB, free: 9.836 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004757/0.7959, allocations: 227 kB / 0.6316 GB, free: 9.613 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7959, allocations: 0 / 0.6316 GB, free: 9.613 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002592/0.7985, allocations: 391.6 kB / 0.632 GB, free: 9.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (18): * Single equations (assignments): 17 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.004624/0.8032, allocations: 2.029 MB / 0.634 GB, free: 7.121 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.8048, allocations: 354 kB / 0.6343 GB, free: 6.781 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.8049, allocations: 0 / 0.6343 GB, free: 6.781 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.8052, allocations: 67.97 kB / 0.6344 GB, free: 6.715 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.8063, allocations: 65 kB / 0.6344 GB, free: 6.652 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.8182, allocations: 12.97 MB / 0.6471 GB, free: 9.285 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/0.819, allocations: 0.8037 MB / 0.6479 GB, free: 8.457 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/0.8195, allocations: 127.4 kB / 0.648 GB, free: 8.332 MB / 474.7 MB Notification: Performance of SimCode: time 1.263e-06/0.8195, allocations: 192 / 0.648 GB, free: 8.332 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.292/4.112, allocations: 12.06 MB / 0.6598 GB, free: 12.28 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat does not exist to compare? outputFormat=mat