Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 200 kB / 16.79 MB, free: 6.809 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.325/1.325, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9589/0.9589, allocations: 143 MB / 433.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 59.91 kB / 0.5142 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1786, allocations: 82.03 MB / 0.5943 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002416/0.1811, allocations: 1.313 MB / 0.5955 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1822, allocations: 0.6035 MB / 0.5961 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.882e-05/0.1822, allocations: 3.938 kB / 0.5961 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.1823, allocations: 0 / 0.5961 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.542e-05/0.1823, allocations: 3.984 kB / 0.5961 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.1828, allocations: 121.7 kB / 0.5963 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.747e-05/0.1828, allocations: 11.88 kB / 0.5963 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.1829, allocations: 8 kB / 0.5963 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.921e-05/0.1829, allocations: 7.969 kB / 0.5963 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.183, allocations: 11.94 kB / 0.5963 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.183, allocations: 0 / 0.5963 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004809/0.1835, allocations: 339.3 kB / 0.5966 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.1835, allocations: 0 / 0.5966 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.1835, allocations: 11.92 kB / 0.5966 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1837, allocations: 84.12 kB / 0.5967 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1837, allocations: 0 / 0.5967 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1837, allocations: 0 / 0.5967 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.1837, allocations: 0 / 0.5967 GB, free: 7.582 MB / 0.4981 GB 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.0004239/0.1842, allocations: 359.5 kB / 0.5971 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1842, allocations: 12.03 kB / 0.5971 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.1842, allocations: 0.9375 kB / 0.5971 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.1844, allocations: 164.3 kB / 0.5972 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.1844, allocations: 4.312 kB / 0.5972 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.1844, allocations: 4.375 kB / 0.5972 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1845, allocations: 30.27 kB / 0.5973 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1846, allocations: 4.188 kB / 0.5973 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1846, allocations: 15.86 kB / 0.5973 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1846, allocations: 0 / 0.5973 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.463e-05/0.1846, allocations: 0 / 0.5973 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.1848, allocations: 149.7 kB / 0.5974 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.509e-05/0.1849, allocations: 26.59 kB / 0.5974 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.1849, allocations: 4.859 kB / 0.5975 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1849, allocations: 0 / 0.5975 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.185, allocations: 42.62 kB / 0.5975 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.185, allocations: 0 / 0.5975 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000193/0.1852, allocations: 41.58 kB / 0.5975 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.1852, allocations: 51.41 kB / 0.5976 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.1854, allocations: 101.8 kB / 0.5977 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.1854, allocations: 25.7 kB / 0.5977 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.1855, allocations: 84.12 kB / 0.5978 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.1855, allocations: 8.156 kB / 0.5978 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.1855, allocations: 17.72 kB / 0.5978 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1857, allocations: 310.8 kB / 0.5981 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.786e-05/0.1857, allocations: 7.984 kB / 0.5981 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-06/0.1857, allocations: 0 / 0.5981 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.3e-05/0.1858, allocations: 16.8 kB / 0.5981 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1858, allocations: 4 kB / 0.5981 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.889e-05/0.1858, allocations: 33.77 kB / 0.5982 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1859, allocations: 8.031 kB / 0.5982 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1859, allocations: 3.938 kB / 0.5982 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1859, allocations: 0 / 0.5982 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.1861, allocations: 15.92 kB / 0.5982 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004489/0.1865, allocations: 0.5821 MB / 0.5988 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.1865, allocations: 0 / 0.5988 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1866, allocations: 8.031 kB / 0.5988 GB, free: 5.227 MB / 0.4981 GB 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 7.532e-05/0.1866, allocations: 117.9 kB / 0.5989 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.1867, allocations: 3.984 kB / 0.5989 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.1868, allocations: 40.83 kB / 0.5989 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1868, allocations: 3.938 kB / 0.5989 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1868, allocations: 4 kB / 0.5989 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1868, allocations: 0 / 0.5989 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.1869, allocations: 153.5 kB / 0.5991 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1869, allocations: 4.031 kB / 0.5991 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-05/0.187, allocations: 11.98 kB / 0.5991 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.187, allocations: 0 / 0.5991 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.187, allocations: 8 kB / 0.5991 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003184/0.1874, allocations: 0.5821 MB / 0.5997 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1874, allocations: 3.938 kB / 0.5997 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.575e-05/0.1874, allocations: 65.25 kB / 0.5997 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.1875, allocations: 77.11 kB / 0.5998 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.1875, allocations: 4 kB / 0.5998 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.406e-05/0.1875, allocations: 0 / 0.5998 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.1876, allocations: 7.922 kB / 0.5998 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.1876, allocations: 3.938 kB / 0.5998 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.1876, allocations: 83.27 kB / 0.5999 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1876, allocations: 0 / 0.5999 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001935/0.1878, allocations: 8.125 kB / 0.5999 GB, free: 3.934 MB / 0.4981 GB 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.0001884/0.188, allocations: 119.2 kB / 0.6 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.1882, allocations: 16 kB / 0.6 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1882, allocations: 0 / 0.6 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.927e-05/0.1883, allocations: 11.98 kB / 0.6 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.1884, allocations: 10 kB / 0.6001 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.1888, allocations: 138 kB / 0.6002 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.1892, allocations: 0.6731 MB / 0.6008 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.1892, allocations: 15.38 kB / 0.6009 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of SimCode: time 6.82e-07/0.1892, allocations: 0 / 0.6009 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of Templates: time 0.002438/0.1916, allocations: 0.6895 MB / 0.6015 GB, free: 2.203 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)