Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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 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 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 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.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",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.0009856/0.0009856, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 175.9 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3649/0.3649, allocations: 43.55 MB / 314.6 MB, free: 8.742 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005117/0.000512, allocations: 14.97 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.137, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4588/0.5959, allocations: 137.6 MB / 0.5669 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006587/0.6025, allocations: 5.771 MB / 0.5725 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.6027, allocations: 4 kB / 0.5725 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.6031, allocations: 47.72 kB / 0.5726 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004924/0.608, allocations: 1.734 MB / 0.5743 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.6084, allocations: 135.7 kB / 0.5744 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008526/0.6093, allocations: 0.6231 MB / 0.575 GB, free: 9.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.132e-05/0.6093, allocations: 18.95 kB / 0.575 GB, free: 9.809 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000542/0.6099, allocations: 227.1 kB / 0.5752 GB, free: 9.586 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.6111, allocations: 0.5439 MB / 0.5758 GB, free: 9.043 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.003e-05/0.6112, allocations: 8 kB / 0.5758 GB, free: 9.035 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005692/0.6169, allocations: 2.679 MB / 0.5784 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.6171, allocations: 183.4 kB / 0.5786 GB, free: 6.172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.6173, allocations: 109.5 kB / 0.5787 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.6197, allocations: 1.322 MB / 0.58 GB, free: 4.734 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6197, allocations: 0 / 0.58 GB, free: 4.734 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.6197, allocations: 0 / 0.58 GB, free: 4.734 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.6197, allocations: 0 / 0.58 GB, free: 4.734 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002046/0.6218, allocations: 0.8345 MB / 0.5808 GB, free: 3.855 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.6218, allocations: 8.031 kB / 0.5808 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.6219, allocations: 90.5 kB / 0.5809 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00982/0.6318, allocations: 1.265 MB / 0.5821 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008549/0.6326, allocations: 368.1 kB / 0.5825 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.6328, allocations: 127.5 kB / 0.5826 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.633, allocations: 39.92 kB / 0.5826 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/0.6359, allocations: 1.437 MB / 0.584 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.636, allocations: 4 kB / 0.584 GB, free: 444 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.6361, allocations: 23.94 kB / 0.5841 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/0.6362, allocations: 52.97 kB / 0.5841 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004965/0.6411, allocations: 2.627 MB / 0.5867 GB, free: 13.73 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.004373/0.6455, allocations: 3.666 MB / 0.5902 GB, free: 9.637 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.6457, allocations: 106.5 kB / 0.5903 GB, free: 9.523 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.19e-05/0.6458, allocations: 52.98 kB / 0.5904 GB, free: 9.469 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00357/0.6494, allocations: 3.32 MB / 0.5936 GB, free: 5.645 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.6495, allocations: 42.55 kB / 0.5937 GB, free: 5.594 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.6495, allocations: 0 / 0.5937 GB, free: 5.594 MB / 462.1 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=18): time 0.001236/0.6507, allocations: 404 kB / 0.5941 GB, free: 5.195 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.6507, allocations: 55.41 kB / 0.5941 GB, free: 5.129 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.6511, allocations: 356.1 kB / 0.5945 GB, free: 4.773 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.6511, allocations: 33.7 kB / 0.5945 GB, free: 4.734 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.6514, allocations: 349.4 kB / 0.5948 GB, free: 4.387 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.927e-05/0.6515, allocations: 75.09 kB / 0.5949 GB, free: 4.312 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.6515, allocations: 12 kB / 0.5949 GB, free: 4.301 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6517, allocations: 346.8 kB / 0.5952 GB, free: 3.953 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.6519, allocations: 113.9 kB / 0.5953 GB, free: 3.844 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/0.6524, allocations: 0.5742 MB / 0.5959 GB, free: 3.039 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.6527, allocations: 227.6 kB / 0.5961 GB, free: 2.816 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.6527, allocations: 11.89 kB / 0.5961 GB, free: 2.805 MB / 462.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001015/0.6538, allocations: 0.6845 MB / 0.5968 GB, free: 2.113 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.6538, allocations: 12 kB / 0.5968 GB, free: 2.102 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/0.6538, allocations: 16 kB / 0.5968 GB, free: 2.086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.562e-05/0.6539, allocations: 25.81 kB / 0.5969 GB, free: 2.062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.6543, allocations: 187.7 kB / 0.597 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003699/0.6547, allocations: 0.6172 MB / 0.5976 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/0.6552, allocations: 94.97 kB / 0.5977 GB, free: 1.145 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/0.6553, allocations: 67.94 kB / 0.5978 GB, free: 1.078 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (91): * Single equations (assignments): 90 * 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.0002183/0.6555, allocations: 209.4 kB / 0.598 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/0.6556, allocations: 39.7 kB / 0.598 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/0.6561, allocations: 242.5 kB / 0.5983 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.6561, allocations: 4 kB / 0.5983 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6561, allocations: 3.984 kB / 0.5983 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6561, allocations: 0 / 0.5983 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008569/0.657, allocations: 0.6544 MB / 0.5989 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.657, allocations: 11.89 kB / 0.5989 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.6571, allocations: 40.12 kB / 0.599 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.6572, allocations: 0 / 0.599 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.6572, allocations: 11.12 kB / 0.599 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003566/0.6575, allocations: 0.586 MB / 0.5995 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6576, allocations: 96 / 0.5995 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.6579, allocations: 271.4 kB / 0.5998 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.658, allocations: 128.7 kB / 0.5999 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.6581, allocations: 4 kB / 0.5999 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.6583, allocations: 8 kB / 0.5999 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.6584, allocations: 15.98 kB / 0.5999 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.6584, allocations: 15.98 kB / 0.6 GB, free: 14.67 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.6586, allocations: 235 kB / 0.6002 GB, free: 14.44 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6587, allocations: 0 / 0.6002 GB, free: 14.44 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00154/0.6602, allocations: 387.6 kB / 0.6006 GB, free: 14.06 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (14): * Single equations (assignments): 13 * 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.003083/0.6633, allocations: 1.26 MB / 0.6018 GB, free: 12.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000783/0.6641, allocations: 342.5 kB / 0.6021 GB, free: 12.44 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.6641, allocations: 0 / 0.6021 GB, free: 12.44 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.6643, allocations: 55.86 kB / 0.6022 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.6648, allocations: 62.83 kB / 0.6022 GB, free: 12.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.6749, allocations: 6.273 MB / 0.6084 GB, free: 5.758 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.6753, allocations: 0.7921 MB / 0.6091 GB, free: 4.941 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007074/0.676, allocations: 179.8 kB / 0.6093 GB, free: 4.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.6763, allocations: 111.4 kB / 0.6094 GB, free: 4.66 MB / 478.1 MB Notification: Performance of SimCode: time 1.483e-06/0.6763, allocations: 4 kB / 0.6094 GB, free: 4.656 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.708, allocations: 13.62 MB / 0.6227 GB, free: 7.102 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/0.7083, allocations: 267.3 kB / 0.623 GB, free: 6.742 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/2.821, allocations: 3.938 kB / 0.623 GB, free: 6.738 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat does not exist to compare? outputFormat=mat