Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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: translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 194.3 kB / 16.25 MB, free: 6.625 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.768/1.768, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4537/0.4537, allocations: 39.94 MB / 309.4 MB, free: 8.996 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 67.91 kB / 377.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1723, allocations: 56.89 MB / 434 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.00376/0.1761, allocations: 1.94 MB / 435.9 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1773, allocations: 0.5891 MB / 436.5 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.985e-05/0.1774, allocations: 0 / 436.5 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1776, allocations: 31.77 kB / 436.6 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.1778, allocations: 31.83 kB / 436.6 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.178, allocations: 27.98 kB / 436.6 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.1782, allocations: 151.4 kB / 436.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.1784, allocations: 65.44 kB / 436.8 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.1786, allocations: 63.78 kB / 436.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.1787, allocations: 63.7 kB / 436.9 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.1787, allocations: 12 kB / 437 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.499e-05/0.1788, allocations: 16 kB / 437 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.1788, allocations: 35.91 kB / 437 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.303e-05/0.1789, allocations: 63.67 kB / 437.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.1791, allocations: 155.7 kB / 437.2 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1791, allocations: 0 / 437.2 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1792, allocations: 0 / 437.2 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1792, allocations: 0 / 437.2 MB, free: 0.4961 MB / 366.1 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.0007844/0.18, allocations: 443.2 kB / 437.7 MB, free: 16 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.967e-05/0.18, allocations: 19.94 kB / 437.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.1801, allocations: 12.75 kB / 437.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.1804, allocations: 208 kB / 437.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.1805, allocations: 8.656 kB / 437.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.1805, allocations: 12.38 kB / 437.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.1809, allocations: 148.1 kB / 438.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1809, allocations: 0 / 438.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.181, allocations: 8 kB / 438.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.181, allocations: 0 / 438.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.1813, allocations: 112.2 kB / 438.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.1825, allocations: 0.6103 MB / 438.8 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.1828, allocations: 66.58 kB / 438.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1829, allocations: 25.02 kB / 438.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.1829, allocations: 0 / 438.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.823e-05/0.183, allocations: 38.55 kB / 438.9 MB, free: 14.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 3.386e-06/0.183, allocations: 4 kB / 438.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004648/0.1835, allocations: 113.4 kB / 439 MB, free: 14.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.1836, allocations: 55.34 kB / 439.1 MB, free: 14.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.1837, allocations: 145.8 kB / 439.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1838, allocations: 25.7 kB / 439.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.1839, allocations: 139.4 kB / 439.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.1839, allocations: 27.73 kB / 439.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.184, allocations: 25.62 kB / 439.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1841, allocations: 318.8 kB / 439.7 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.446e-05/0.1842, allocations: 27.98 kB / 439.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1844, allocations: 64.2 kB / 439.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.1846, allocations: 96.19 kB / 439.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.1846, allocations: 0 / 439.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003038/0.1849, allocations: 137.4 kB / 440.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1849, allocations: 4 kB / 440.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.185, allocations: 0 / 440.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.185, allocations: 4 kB / 440.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1851, allocations: 31.86 kB / 440.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.1851, allocations: 0 / 440.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.978e-05/0.1852, allocations: 19.83 kB / 440.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1852, allocations: 12.12 kB / 440.1 MB, free: 13.31 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.1854, allocations: 113.8 kB / 440.2 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.1854, allocations: 7.906 kB / 440.3 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.1854, allocations: 12.31 kB / 440.3 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1855, allocations: 3.938 kB / 440.3 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.1855, allocations: 3.984 kB / 440.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1855, allocations: 0 / 440.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.1857, allocations: 201.6 kB / 440.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1857, allocations: 4 kB / 440.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.819e-05/0.1858, allocations: 19.92 kB / 440.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1858, allocations: 8.188 kB / 440.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1859, allocations: 4 kB / 440.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1859, allocations: 7.938 kB / 440.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1859, allocations: 0 / 440.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.1862, allocations: 187.4 kB / 440.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.1862, allocations: 85.02 kB / 440.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1863, allocations: 4 kB / 440.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.572e-05/0.1864, allocations: 15.92 kB / 440.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.1864, allocations: 0 / 440.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1864, allocations: 0 / 440.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.371e-05/0.1865, allocations: 115.9 kB / 440.9 MB, free: 12.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1865, allocations: 0 / 440.9 MB, free: 12.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1868, allocations: 31.84 kB / 440.9 MB, free: 12.41 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001428/0.1869, allocations: 103.1 kB / 441 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.1872, allocations: 79.83 kB / 441.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1872, allocations: 0 / 441.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.448e-05/0.1873, allocations: 31.97 kB / 441.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.1877, allocations: 7.797 kB / 441.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.1884, allocations: 323.8 kB / 441.5 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.1887, allocations: 0.7119 MB / 442.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.587e-05/0.1888, allocations: 0.6719 kB / 442.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.1888, allocations: 11.44 kB / 442.2 MB, free: 11.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1888, allocations: 0 / 442.2 MB, free: 11.1 MB / 382.1 MB Notification: Performance of Templates: time 0.003187/0.192, allocations: 0.6487 MB / 442.8 MB, free: 10.45 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors.pipe 2>&1)