Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001361/0.00136, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001673/0.001673, allocations: 195.3 kB / 16.14 MB, free: 6.688 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.501/1.501, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.964/0.964, allocations: 143 MB / 433 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.91 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1731, allocations: 82.03 MB / 0.5936 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002035/0.1752, allocations: 1.317 MB / 0.5949 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008845/0.1761, allocations: 0.6112 MB / 0.5955 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.217e-05/0.1761, allocations: 0 / 0.5955 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.1761, allocations: 0 / 0.5955 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.335e-05/0.1762, allocations: 0 / 0.5955 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.1766, allocations: 125.5 kB / 0.5956 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.25e-05/0.1766, allocations: 7.938 kB / 0.5956 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.835e-05/0.1766, allocations: 0 / 0.5956 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.622e-05/0.1767, allocations: 4 kB / 0.5956 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.569e-05/0.1767, allocations: 11.97 kB / 0.5956 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.1767, allocations: 7.938 kB / 0.5956 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004415/0.1772, allocations: 343.3 kB / 0.596 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.1772, allocations: 0 / 0.596 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.754e-05/0.1772, allocations: 3.984 kB / 0.596 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.1774, allocations: 139.9 kB / 0.5961 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1774, allocations: 0 / 0.5961 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.22e-07/0.1775, allocations: 4 kB / 0.5961 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.886e-06/0.1775, allocations: 0 / 0.5961 GB, free: 7.504 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.000332/0.1778, allocations: 347.5 kB / 0.5964 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.1778, allocations: 12.03 kB / 0.5964 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.1779, allocations: 0.9375 kB / 0.5964 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.228e-05/0.178, allocations: 172.3 kB / 0.5966 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.178, allocations: 384 / 0.5966 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.178, allocations: 4.375 kB / 0.5966 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.164e-05/0.1781, allocations: 34.2 kB / 0.5966 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1781, allocations: 4.188 kB / 0.5966 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.1781, allocations: 3.938 kB / 0.5967 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.1781, allocations: 0 / 0.5967 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.1781, allocations: 0 / 0.5967 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.1783, allocations: 153.7 kB / 0.5968 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.046e-05/0.1783, allocations: 22.67 kB / 0.5968 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.1783, allocations: 8.859 kB / 0.5968 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.1784, allocations: 7.984 kB / 0.5968 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.1784, allocations: 38.5 kB / 0.5969 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1784, allocations: 0 / 0.5969 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001127/0.1785, allocations: 41.64 kB / 0.5969 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.1786, allocations: 51.41 kB / 0.597 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.1786, allocations: 97.84 kB / 0.5971 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.1786, allocations: 29.89 kB / 0.5971 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.1787, allocations: 84.14 kB / 0.5972 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.1787, allocations: 7.906 kB / 0.5972 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.1787, allocations: 13.72 kB / 0.5972 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.711e-05/0.1788, allocations: 310.8 kB / 0.5975 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.1788, allocations: 4 kB / 0.5975 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-06/0.1788, allocations: 0 / 0.5975 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.855e-05/0.1789, allocations: 20.78 kB / 0.5975 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1789, allocations: 4.062 kB / 0.5975 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.674e-05/0.1789, allocations: 41.7 kB / 0.5975 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.179, allocations: 4 kB / 0.5976 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.179, allocations: 7.938 kB / 0.5976 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.179, allocations: 0 / 0.5976 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1791, allocations: 11.98 kB / 0.5976 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003131/0.1794, allocations: 0.5821 MB / 0.5981 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.1795, allocations: 8.062 kB / 0.5981 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.1795, allocations: 4.031 kB / 0.5982 GB, free: 5.152 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 6.671e-05/0.1796, allocations: 109.8 kB / 0.5983 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.1796, allocations: 3.984 kB / 0.5983 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.921e-05/0.1797, allocations: 44.81 kB / 0.5983 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1797, allocations: 0 / 0.5983 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1797, allocations: 0 / 0.5983 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.1797, allocations: 8.031 kB / 0.5983 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.977e-05/0.1798, allocations: 157.5 kB / 0.5985 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1798, allocations: 0 / 0.5985 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.1799, allocations: 15.92 kB / 0.5985 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1799, allocations: 0 / 0.5985 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.1799, allocations: 4 kB / 0.5985 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002624/0.1802, allocations: 0.5782 MB / 0.599 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1802, allocations: 3.938 kB / 0.599 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.827e-05/0.1802, allocations: 65.25 kB / 0.5991 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.1803, allocations: 77.11 kB / 0.5992 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.1803, allocations: 7.938 kB / 0.5992 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.382e-05/0.1803, allocations: 0 / 0.5992 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.1803, allocations: 3.938 kB / 0.5992 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1803, allocations: 0 / 0.5992 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.042e-05/0.1804, allocations: 91.25 kB / 0.5993 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1804, allocations: 0 / 0.5993 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001821/0.1806, allocations: 8 kB / 0.5993 GB, free: 3.863 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.0001446/0.1807, allocations: 113.8 kB / 0.5994 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.1809, allocations: 19.98 kB / 0.5994 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1809, allocations: 0 / 0.5994 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.324e-05/0.181, allocations: 15.98 kB / 0.5994 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.1811, allocations: 15.58 kB / 0.5994 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.1814, allocations: 100.3 kB / 0.5995 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.1816, allocations: 0.6692 MB / 0.6002 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.514e-05/0.1816, allocations: 0 / 0.6002 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.258e-05/0.1816, allocations: 11.44 kB / 0.6002 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1817, allocations: 11.88 kB / 0.6002 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of Templates: time 0.0021/0.1838, allocations: 440.2 kB / 0.6006 GB, free: 2.453 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)