Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008818/0.0008822, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005982/0.005982, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 263 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9339/0.9339, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006243/0.0006243, allocations: 12.8 kB / 0.5987 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1796, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001227/0.1809, allocations: 0.9669 MB / 0.6861 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009217/0.1818, allocations: 0.595 MB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.435e-05/0.1819, allocations: 0.5625 kB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.1819, allocations: 1.938 kB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.41e-05/0.1819, allocations: 0 / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.1823, allocations: 124.2 kB / 0.6868 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.588e-05/0.1824, allocations: 8.531 kB / 0.6868 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.1824, allocations: 4 kB / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.676e-05/0.1824, allocations: 5.172 kB / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.627e-05/0.1825, allocations: 11.92 kB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.1825, allocations: 0 / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000438/0.1829, allocations: 341.1 kB / 0.6871 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.344e-06/0.183, allocations: 0 / 0.6871 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.183, allocations: 37.69 kB / 0.6872 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.1832, allocations: 135.9 kB / 0.6873 GB, free: 12.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1832, allocations: 4.969 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1832, allocations: 0 / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.1832, allocations: 0 / 0.6873 GB, free: 12.84 MB / 494.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.0002978/0.1835, allocations: 346.7 kB / 0.6876 GB, free: 12.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.1836, allocations: 15.97 kB / 0.6876 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.062e-05/0.1836, allocations: 2.312 kB / 0.6876 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.462e-05/0.1837, allocations: 164.4 kB / 0.6878 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.1837, allocations: 384 / 0.6878 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.1837, allocations: 5.125 kB / 0.6878 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.044e-05/0.1838, allocations: 30.27 kB / 0.6878 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.279e-06/0.1838, allocations: 3.062 kB / 0.6878 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1838, allocations: 3.938 kB / 0.6878 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.1838, allocations: 4 kB / 0.6878 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/0.1839, allocations: 3.938 kB / 0.6878 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.184, allocations: 153.7 kB / 0.688 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.145e-05/0.1841, allocations: 20.27 kB / 0.688 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.1841, allocations: 8.922 kB / 0.688 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1841, allocations: 0 / 0.688 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.1841, allocations: 40.73 kB / 0.6881 GB, free: 11.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1841, allocations: 0 / 0.6881 GB, free: 11.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001181/0.1843, allocations: 53.48 kB / 0.6881 GB, free: 11.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.1843, allocations: 51.41 kB / 0.6882 GB, free: 11.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.038e-05/0.1844, allocations: 98.73 kB / 0.6883 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.1844, allocations: 26.42 kB / 0.6883 GB, free: 11.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.1844, allocations: 84.75 kB / 0.6884 GB, free: 11.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.1844, allocations: 0 / 0.6884 GB, free: 11.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/0.1845, allocations: 11.16 kB / 0.6884 GB, free: 11.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.49e-05/0.1845, allocations: 314.8 kB / 0.6887 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.1846, allocations: 4 kB / 0.6887 GB, free: 11.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-06/0.1846, allocations: 4.625 kB / 0.6887 GB, free: 11.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.553e-05/0.1846, allocations: 13.17 kB / 0.6887 GB, free: 11.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1846, allocations: 0 / 0.6887 GB, free: 11.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.908e-05/0.1847, allocations: 49.53 kB / 0.6887 GB, free: 11.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.1847, allocations: 4 kB / 0.6887 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1847, allocations: 3.938 kB / 0.6887 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.1847, allocations: 4 kB / 0.6888 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.1849, allocations: 7.984 kB / 0.6888 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002956/0.1852, allocations: 0.5861 MB / 0.6893 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.1852, allocations: 0 / 0.6893 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.1852, allocations: 0 / 0.6893 GB, free: 10.52 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 6.427e-05/0.1853, allocations: 119.1 kB / 0.6894 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.1853, allocations: 4 kB / 0.6895 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.892e-05/0.1854, allocations: 48.75 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1854, allocations: 4.125 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.1854, allocations: 0 / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.1854, allocations: 0 / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.346e-05/0.1855, allocations: 153.6 kB / 0.6896 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1855, allocations: 0 / 0.6896 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.856e-05/0.1856, allocations: 8 kB / 0.6897 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1856, allocations: 0 / 0.6897 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-06/0.1856, allocations: 0 / 0.6897 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003199/0.1859, allocations: 0.5938 MB / 0.6902 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.1859, allocations: 7.969 kB / 0.6902 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.147e-05/0.186, allocations: 61.05 kB / 0.6903 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.186, allocations: 88.97 kB / 0.6904 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1861, allocations: 4 kB / 0.6904 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.303e-05/0.1861, allocations: 0 / 0.6904 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.1861, allocations: 7.938 kB / 0.6904 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.1861, allocations: 4.125 kB / 0.6904 GB, free: 9.305 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.884e-05/0.1861, allocations: 75.28 kB / 0.6905 GB, free: 9.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1861, allocations: 0 / 0.6905 GB, free: 9.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000192/0.1863, allocations: 12 kB / 0.6905 GB, free: 9.219 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.0001421/0.1865, allocations: 111.2 kB / 0.6906 GB, free: 9.098 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.1866, allocations: 19.98 kB / 0.6906 GB, free: 9.078 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.1867, allocations: 4.156 kB / 0.6906 GB, free: 9.074 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.864e-05/0.1867, allocations: 15.98 kB / 0.6906 GB, free: 9.059 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.1869, allocations: 5.641 kB / 0.6906 GB, free: 9.059 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.1871, allocations: 111.2 kB / 0.6907 GB, free: 8.926 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.1874, allocations: 0.677 MB / 0.6914 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.563e-05/0.1874, allocations: 8 kB / 0.6914 GB, free: 8.215 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.1874, allocations: 11.44 kB / 0.6914 GB, free: 8.203 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1874, allocations: 3.938 kB / 0.6914 GB, free: 8.199 MB / 494.1 MB Notification: Performance of Templates: time 0.002227/0.1896, allocations: 420.7 kB / 0.6918 GB, free: 7.824 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)