Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.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.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_FlueGas",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.002302/0.002302, allocations: 181.2 kB / 13.66 MB, free: 1.66 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.219/2.219, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001148/0.001147, allocations: 93.94 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2963/0.2963, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.604e-05/3.624e-05, allocations: 0 / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1297, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.453/2.582, allocations: 0.7641 GB / 1.237 GB, free: 69.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/2.583, allocations: 81.78 kB / 1.237 GB, free: 69.25 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2169/2.8, allocations: 61.98 MB / 1.298 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.904e-06/2.8, allocations: 0 / 1.298 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.497e-05/2.8, allocations: 4 kB / 1.298 GB, free: 12.39 MB / 0.5105 GB 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.0008568/2.801, allocations: 471.2 kB / 1.298 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/2.801, allocations: 8.031 kB / 1.298 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.062e-05/2.801, allocations: 54.48 kB / 1.298 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009489/2.81, allocations: 0.7024 MB / 1.299 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007034/2.811, allocations: 278.8 kB / 1.299 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/2.811, allocations: 16.28 kB / 1.299 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/2.811, allocations: 16 kB / 1.299 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/2.813, allocations: 0.6606 MB / 1.3 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/2.813, allocations: 0 / 1.3 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/2.813, allocations: 8 kB / 1.3 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/2.813, allocations: 8 kB / 1.3 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/2.815, allocations: 0.7105 MB / 1.3 GB, free: 9.367 MB / 0.5105 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.004247/2.819, allocations: 1.23 MB / 1.302 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007264/2.82, allocations: 285 kB / 1.302 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/2.821, allocations: 185.8 kB / 1.302 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008024/2.821, allocations: 250.1 kB / 1.302 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/2.821, allocations: 46.5 kB / 1.302 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 2.895e-06/2.821, allocations: 0 / 1.302 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.001196/2.823, allocations: 365.8 kB / 1.303 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/2.823, allocations: 81.11 kB / 1.303 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/2.823, allocations: 118.1 kB / 1.303 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.357e-05/2.823, allocations: 29.7 kB / 1.303 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/2.823, allocations: 190.6 kB / 1.303 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/2.823, allocations: 98.55 kB / 1.303 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/2.823, allocations: 12 kB / 1.303 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.057e-05/2.823, allocations: 326.8 kB / 1.304 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/2.824, allocations: 160 kB / 1.304 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/2.824, allocations: 280.3 kB / 1.304 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/2.825, allocations: 191.3 kB / 1.304 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/2.825, allocations: 0 / 1.304 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001267/2.826, allocations: 493.2 kB / 1.305 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/2.826, allocations: 4 kB / 1.305 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/2.826, allocations: 4 kB / 1.305 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/2.826, allocations: 8 kB / 1.305 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009949/2.827, allocations: 75.89 kB / 1.305 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/2.827, allocations: 4 kB / 1.305 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007235/2.828, allocations: 47.81 kB / 1.305 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.801e-05/2.828, allocations: 23.98 kB / 1.305 GB, free: 4.703 MB / 0.5105 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.000178/2.828, allocations: 128.8 kB / 1.305 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/2.828, allocations: 11.91 kB / 1.305 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/2.83, allocations: 454.1 kB / 1.305 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/2.83, allocations: 8 kB / 1.305 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/2.83, allocations: 0 / 1.305 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/2.83, allocations: 0 / 1.305 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/2.831, allocations: 0.509 MB / 1.306 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/2.831, allocations: 4 kB / 1.306 GB, free: 3.539 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009426/2.832, allocations: 59.89 kB / 1.306 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/2.832, allocations: 3.984 kB / 1.306 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.063e-05/2.832, allocations: 8 kB / 1.306 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/2.832, allocations: 3.984 kB / 1.306 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/2.832, allocations: 0 / 1.306 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/2.833, allocations: 0.6476 MB / 1.307 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/2.834, allocations: 92.94 kB / 1.307 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.409e-05/2.834, allocations: 11.94 kB / 1.307 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008058/2.834, allocations: 19.98 kB / 1.307 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/2.835, allocations: 15.97 kB / 1.307 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.154e-05/2.835, allocations: 23.98 kB / 1.307 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.743e-05/2.835, allocations: 103.6 kB / 1.307 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/2.835, allocations: 0 / 1.307 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001157/2.836, allocations: 211.7 kB / 1.307 GB, free: 2.301 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.003398/2.839, allocations: 1.895 MB / 1.309 GB, free: 384 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.3346/3.174, allocations: 397.2 kB / 1.309 GB, free: 169.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/3.174, allocations: 1.031 kB / 1.309 GB, free: 169.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006357/3.175, allocations: 190.4 kB / 1.309 GB, free: 169.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/3.176, allocations: 89.58 kB / 1.31 GB, free: 169.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/3.178, allocations: 0.9136 MB / 1.31 GB, free: 169.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/3.179, allocations: 0.7411 MB / 1.311 GB, free: 169 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005219/3.179, allocations: 71.03 kB / 1.311 GB, free: 169 MB / 0.5105 GB Notification: Performance of SimCode: time 1.453e-06/3.179, allocations: 0 / 1.311 GB, free: 169 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.349/6.529, allocations: 10.25 MB / 1.321 GB, free: 168.3 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat