Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.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.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sensors",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.001613/0.001613, allocations: 182.7 kB / 16.4 MB, free: 5.75 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.06/2.06, 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.001129/0.001129, allocations: 89.83 kB / 270.9 MB, free: 8.367 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.6286/0.6286, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005812/0.0005813, allocations: 16 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1665, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003465/0.1701, allocations: 1.504 MB / 491.8 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1717, allocations: 0.57 MB / 492.4 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.1718, allocations: 0 / 492.4 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.172, allocations: 27.84 kB / 492.4 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.1722, allocations: 27.94 kB / 492.4 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.1724, allocations: 35.89 kB / 492.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.1727, allocations: 91.81 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.1729, allocations: 49.78 kB / 492.6 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.1731, allocations: 59.77 kB / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1733, allocations: 55.77 kB / 492.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.1733, allocations: 4 kB / 492.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.938e-05/0.1734, allocations: 8 kB / 492.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.209e-05/0.1734, allocations: 19.92 kB / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/0.1735, allocations: 49.64 kB / 492.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.1738, allocations: 115.9 kB / 492.9 MB, free: 8.473 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1738, allocations: 0 / 492.9 MB, free: 8.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1738, allocations: 0 / 492.9 MB, free: 8.473 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1738, allocations: 0 / 492.9 MB, free: 8.473 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.00104/0.1749, allocations: 431.2 kB / 493.3 MB, free: 8.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.175, allocations: 11.97 kB / 493.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.809e-05/0.1751, allocations: 50.5 kB / 493.4 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.895e-05/0.1752, allocations: 19.75 kB / 493.4 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.1756, allocations: 198.8 kB / 493.6 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.1756, allocations: 12.28 kB / 493.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.1757, allocations: 12 kB / 493.6 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006454/0.1763, allocations: 147.8 kB / 493.8 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1764, allocations: 0 / 493.8 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.1764, allocations: 4 kB / 493.8 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.1764, allocations: 7.953 kB / 493.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007003/0.1772, allocations: 116.2 kB / 493.9 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.1792, allocations: 0.6223 MB / 494.5 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.1797, allocations: 74.53 kB / 494.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.1798, allocations: 128 / 494.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.1798, allocations: 42.5 kB / 494.6 MB, free: 6.559 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.865e-06/0.1799, allocations: 0 / 494.6 MB, free: 6.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008794/0.1808, allocations: 121.6 kB / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.1808, allocations: 59.34 kB / 494.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.1811, allocations: 150.3 kB / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.1811, allocations: 25.7 kB / 495 MB, free: 6.176 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.1813, allocations: 198 kB / 495.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.1814, allocations: 23.64 kB / 495.2 MB, free: 5.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.1814, allocations: 4 kB / 495.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1816, allocations: 318.8 kB / 495.5 MB, free: 5.633 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.1818, allocations: 31.97 kB / 495.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.1822, allocations: 72.2 kB / 495.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.1825, allocations: 35.98 kB / 495.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1825, allocations: 0 / 495.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007555/0.1833, allocations: 137.5 kB / 495.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.1833, allocations: 4 kB / 495.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.1833, allocations: 4 kB / 495.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.1834, allocations: 0 / 495.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.1837, allocations: 32.11 kB / 495.8 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1838, allocations: 0 / 495.8 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.184, allocations: 19.89 kB / 495.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.1841, allocations: 4 kB / 495.9 MB, free: 5.277 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * 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.0001981/0.1843, allocations: 133.7 kB / 496 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.1844, allocations: 11.86 kB / 496 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.1844, allocations: 8.312 kB / 496 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.1845, allocations: 11.98 kB / 496 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.1845, allocations: 0 / 496 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1845, allocations: 0 / 496 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.185, allocations: 205.6 kB / 496.2 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.185, allocations: 0 / 496.2 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.1852, allocations: 23.92 kB / 496.2 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.1853, allocations: 0 / 496.2 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.1853, allocations: 3.953 kB / 496.3 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1853, allocations: 3.938 kB / 496.3 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1853, allocations: 256 / 496.3 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006402/0.186, allocations: 199.4 kB / 496.5 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.026e-05/0.1861, allocations: 88.95 kB / 496.5 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.1861, allocations: 4 kB / 496.5 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.1864, allocations: 19.94 kB / 496.6 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.1865, allocations: 0 / 496.6 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.1865, allocations: 0 / 496.6 MB, free: 4.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.1867, allocations: 115.8 kB / 496.7 MB, free: 4.367 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.1867, allocations: 0 / 496.7 MB, free: 4.367 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006179/0.1873, allocations: 27.84 kB / 496.7 MB, free: 4.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.001082/0.1884, allocations: 0.7163 MB / 497.4 MB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006068/0.1891, allocations: 83.89 kB / 497.5 MB, free: 3.516 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1891, allocations: 0 / 497.5 MB, free: 3.516 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.1894, allocations: 35.91 kB / 497.5 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.1898, allocations: 15.8 kB / 497.6 MB, free: 3.469 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.1929, allocations: 1.394 MB / 498.9 MB, free: 2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.1934, allocations: 0.7158 MB / 499.7 MB, free: 1.258 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.1935, allocations: 35.42 kB / 499.7 MB, free: 1.223 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.1936, allocations: 0 / 499.7 MB, free: 1.223 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.896/3.09, allocations: 1.807 MB / 0.4897 GB, free: 42.67 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sensors.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat