Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 109.5 kB / 16.41 MB, free: 6.48 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.001852/0.001852, allocations: 191.9 kB / 17.34 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7172/0.7172, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 68.23 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1756, allocations: 76.19 MB / 0.6321 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002605/0.1782, allocations: 1.227 MB / 0.6333 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1793, allocations: 0.5842 MB / 0.6338 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.1793, allocations: 3.938 kB / 0.6339 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.1794, allocations: 3.938 kB / 0.6339 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.1794, allocations: 7.922 kB / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.1801, allocations: 134.1 kB / 0.634 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.187e-05/0.1802, allocations: 15.92 kB / 0.634 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.091e-05/0.1802, allocations: 4 kB / 0.634 GB, free: 2.391 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.124e-05/0.1803, allocations: 4 kB / 0.634 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.1803, allocations: 4 kB / 0.634 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1803, allocations: 0 / 0.634 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005283/0.1809, allocations: 347.3 kB / 0.6343 GB, free: 2.043 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.1809, allocations: 3.938 kB / 0.6344 GB, free: 2.039 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.1809, allocations: 3.984 kB / 0.6344 GB, free: 2.035 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.1812, allocations: 143.6 kB / 0.6345 GB, free: 1.895 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1812, allocations: 3.984 kB / 0.6345 GB, free: 1.891 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1812, allocations: 4 kB / 0.6345 GB, free: 1.887 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1812, allocations: 0 / 0.6345 GB, free: 1.887 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004803/0.1817, allocations: 351.5 kB / 0.6348 GB, free: 1.492 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.1818, allocations: 12.03 kB / 0.6348 GB, free: 1.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.1818, allocations: 0.9375 kB / 0.6348 GB, free: 1.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.182, allocations: 164.3 kB / 0.635 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.182, allocations: 4.359 kB / 0.635 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.182, allocations: 4.375 kB / 0.635 GB, free: 1.273 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.1821, allocations: 38.19 kB / 0.635 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1821, allocations: 192 / 0.6351 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.1822, allocations: 3.938 kB / 0.6351 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1822, allocations: 4 kB / 0.6351 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.14e-05/0.1822, allocations: 0 / 0.6351 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.1824, allocations: 153.7 kB / 0.6352 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.916e-05/0.1825, allocations: 22.61 kB / 0.6352 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.1825, allocations: 8.922 kB / 0.6352 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.1826, allocations: 4 kB / 0.6352 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.1826, allocations: 34.5 kB / 0.6353 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.1826, allocations: 0 / 0.6353 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001754/0.1828, allocations: 49.62 kB / 0.6353 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.1828, allocations: 51.41 kB / 0.6354 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.898e-05/0.1829, allocations: 93.86 kB / 0.6355 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1829, allocations: 25.95 kB / 0.6355 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.183, allocations: 84.14 kB / 0.6356 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.183, allocations: 7.906 kB / 0.6356 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.1831, allocations: 13.72 kB / 0.6356 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1832, allocations: 314.8 kB / 0.6359 GB, free: 260 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.1832, allocations: 11.88 kB / 0.6359 GB, free: 248 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.204e-05/0.1832, allocations: 4 kB / 0.6359 GB, free: 244 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.523e-05/0.1833, allocations: 16.8 kB / 0.6359 GB, free: 224 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1833, allocations: 4.062 kB / 0.6359 GB, free: 220 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.179e-05/0.1834, allocations: 41.7 kB / 0.636 GB, free: 172 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1834, allocations: 7.984 kB / 0.636 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1834, allocations: 3.938 kB / 0.636 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1834, allocations: 0 / 0.636 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.1836, allocations: 8 kB / 0.636 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004677/0.1841, allocations: 0.5821 MB / 0.6365 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/0.1841, allocations: 4.125 kB / 0.6365 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1841, allocations: 3.984 kB / 0.6366 GB, free: 15.54 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.291e-05/0.1842, allocations: 113.8 kB / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.1842, allocations: 0 / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.1844, allocations: 44.81 kB / 0.6367 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1844, allocations: 0 / 0.6367 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1844, allocations: 0 / 0.6367 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1844, allocations: 8.031 kB / 0.6367 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.1845, allocations: 149.6 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1845, allocations: 0 / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.977e-05/0.1846, allocations: 15.92 kB / 0.6369 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1846, allocations: 0 / 0.6369 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1846, allocations: 4 kB / 0.6369 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003704/0.185, allocations: 0.582 MB / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.185, allocations: 3.938 kB / 0.6374 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.1851, allocations: 69.25 kB / 0.6375 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.1852, allocations: 81.05 kB / 0.6376 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.1852, allocations: 4 kB / 0.6376 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/0.1852, allocations: 0 / 0.6376 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.1853, allocations: 7.922 kB / 0.6376 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.1853, allocations: 4 kB / 0.6376 GB, free: 14.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.836e-05/0.1853, allocations: 83.31 kB / 0.6377 GB, free: 14.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1853, allocations: 0 / 0.6377 GB, free: 14.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000217/0.1856, allocations: 7.938 kB / 0.6377 GB, free: 14.24 MB / 494.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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002195/0.1858, allocations: 113.6 kB / 0.6378 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.186, allocations: 19.92 kB / 0.6378 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.186, allocations: 0 / 0.6378 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.498e-05/0.1861, allocations: 16 kB / 0.6378 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.1863, allocations: 8.203 kB / 0.6378 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.1868, allocations: 106 kB / 0.6379 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.1871, allocations: 0.6768 MB / 0.6386 GB, free: 13.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.873e-05/0.1871, allocations: 0 / 0.6386 GB, free: 13.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.1871, allocations: 11.44 kB / 0.6386 GB, free: 13.23 MB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1871, allocations: 0 / 0.6386 GB, free: 13.23 MB / 494.1 MB Notification: Performance of Templates: time 0.002957/0.1901, allocations: 449.8 kB / 0.639 GB, free: 12.8 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)