Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009869/0.0009869, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008605/0.0008606, allocations: 94.7 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1922/0.1922, allocations: 45.14 MB / 383.7 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.644e-05/1.644e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.028/2.149, allocations: 0.8331 GB / 1.338 GB, free: 28.11 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/2.15, allocations: 73.8 kB / 1.338 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5314/2.681, allocations: 101.2 MB / 1.436 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.824e-06/2.681, allocations: 0 / 1.436 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.571e-05/2.681, allocations: 8 kB / 1.436 GB, free: 142.1 MB / 0.5261 GB 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.002836/2.684, allocations: 1.003 MB / 1.437 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/2.684, allocations: 12.03 kB / 1.437 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00891/2.693, allocations: 1.303 MB / 1.439 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008535/2.694, allocations: 394.3 kB / 1.439 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/2.694, allocations: 119.6 kB / 1.439 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/2.694, allocations: 20 kB / 1.439 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002269/2.696, allocations: 1.665 MB / 1.441 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/2.697, allocations: 0.8844 MB / 1.442 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/2.697, allocations: 0 / 1.442 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/2.697, allocations: 7.953 kB / 1.442 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-05/2.697, allocations: 44.7 kB / 1.442 GB, free: 136.6 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.003902/2.701, allocations: 3.593 MB / 1.445 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/2.702, allocations: 62.59 kB / 1.445 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/2.702, allocations: 37 kB / 1.445 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/2.702, allocations: 194.3 kB / 1.446 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/2.702, allocations: 38.5 kB / 1.446 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/2.702, allocations: 0 / 1.446 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.003886/2.706, allocations: 0.851 MB / 1.446 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.885e-05/2.706, allocations: 55.41 kB / 1.446 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/2.706, allocations: 329.9 kB / 1.447 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/2.706, allocations: 29.7 kB / 1.447 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/2.706, allocations: 376.9 kB / 1.447 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/2.706, allocations: 51.38 kB / 1.447 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/2.706, allocations: 3.938 kB / 1.447 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.55e-05/2.706, allocations: 346.8 kB / 1.448 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/2.706, allocations: 97.53 kB / 1.448 GB, free: 130 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/2.707, allocations: 0.5477 MB / 1.448 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006606/2.707, allocations: 291.5 kB / 1.448 GB, free: 129 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/2.707, allocations: 4 kB / 1.448 GB, free: 129 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001091/2.708, allocations: 0.6574 MB / 1.449 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/2.708, allocations: 12.94 kB / 1.449 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/2.709, allocations: 19.94 kB / 1.449 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/2.709, allocations: 24 kB / 1.449 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/2.709, allocations: 211.7 kB / 1.449 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000258/2.709, allocations: 0.6248 MB / 1.45 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/2.71, allocations: 23.94 kB / 1.45 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/2.71, allocations: 60 kB / 1.45 GB, free: 127.3 MB / 0.5261 GB 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 () * 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.0001016/2.71, allocations: 143.3 kB / 1.45 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001966/2.71, allocations: 117.3 kB / 1.45 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/2.71, allocations: 35.81 kB / 1.45 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003399/2.711, allocations: 197.3 kB / 1.451 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/2.711, allocations: 0 / 1.451 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/2.711, allocations: 3.953 kB / 1.451 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/2.711, allocations: 0 / 1.451 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/2.711, allocations: 0.5369 MB / 1.451 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/2.711, allocations: 0 / 1.451 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/2.711, allocations: 44.05 kB / 1.451 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/2.711, allocations: 7.984 kB / 1.451 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/2.711, allocations: 7.953 kB / 1.451 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001637/2.712, allocations: 0.5859 MB / 1.452 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/2.712, allocations: 4.031 kB / 1.452 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/2.712, allocations: 248.3 kB / 1.452 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/2.712, allocations: 128.6 kB / 1.452 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.71e-05/2.712, allocations: 0 / 1.452 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/2.712, allocations: 8 kB / 1.452 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/2.712, allocations: 7.984 kB / 1.452 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/2.712, allocations: 16 kB / 1.452 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001578/2.712, allocations: 232.5 kB / 1.452 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/2.712, allocations: 0 / 1.452 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0016/2.714, allocations: 419.6 kB / 1.453 GB, free: 124.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.002674/2.717, allocations: 2.032 MB / 1.455 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005245/2.717, allocations: 303.7 kB / 1.455 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/2.717, allocations: 0 / 1.455 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/2.717, allocations: 47.86 kB / 1.455 GB, free: 122 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/2.718, allocations: 37.45 kB / 1.455 GB, free: 122 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1001/2.818, allocations: 55.35 MB / 1.509 GB, free: 65.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/2.818, allocations: 0.7879 MB / 1.51 GB, free: 65.01 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007434/2.819, allocations: 267 kB / 1.51 GB, free: 64.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/2.819, allocations: 131.3 kB / 1.51 GB, free: 64.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/2.819, allocations: 0 / 1.51 GB, free: 64.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0425/2.862, allocations: 17.92 MB / 1.528 GB, free: 46.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002884/2.862, allocations: 179.2 kB / 1.528 GB, free: 46.49 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/5.426, allocations: 0 / 1.528 GB, free: 46.49 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat does not exist to compare? outputFormat=mat