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.0008198/0.0008196, allocations: 99.42 kB / 16.02 MB, free: 76 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.00107/0.00107, allocations: 181.1 kB / 16.92 MB, free: 6.918 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.238 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 1.025/1.025, allocations: 143.2 MB / 435.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 12.28 kB / 0.517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1689, allocations: 83.41 MB / 0.5985 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001369/0.1703, allocations: 0.9794 MB / 0.5995 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009894/0.1713, allocations: 0.5957 MB / 0.6 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.418e-05/0.1713, allocations: 3.938 kB / 0.6 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.1714, allocations: 0 / 0.6 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.174e-05/0.1714, allocations: 0 / 0.6 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.1719, allocations: 121.5 kB / 0.6002 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.114e-05/0.1719, allocations: 11.88 kB / 0.6002 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.172, allocations: 7.984 kB / 0.6002 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.949e-05/0.172, allocations: 4 kB / 0.6002 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.102e-05/0.172, allocations: 4 kB / 0.6002 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.1721, allocations: 4 kB / 0.6002 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.1725, allocations: 339.3 kB / 0.6005 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.1726, allocations: 7.969 kB / 0.6005 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.1726, allocations: 29.64 kB / 0.6006 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.1728, allocations: 88.12 kB / 0.6006 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1728, allocations: 0 / 0.6006 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1728, allocations: 0 / 0.6006 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.1728, allocations: 0 / 0.6006 GB, free: 5.488 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.0003606/0.1731, allocations: 355.5 kB / 0.601 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1732, allocations: 8.031 kB / 0.601 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.1732, allocations: 0.9375 kB / 0.601 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.1733, allocations: 168.3 kB / 0.6011 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1734, allocations: 8.312 kB / 0.6012 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.1734, allocations: 384 / 0.6012 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.178e-05/0.1735, allocations: 34.27 kB / 0.6012 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.1735, allocations: 192 / 0.6012 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1735, allocations: 11.88 kB / 0.6012 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1735, allocations: 0 / 0.6012 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.427e-05/0.1735, allocations: 4 kB / 0.6012 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.1737, allocations: 157.6 kB / 0.6014 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.263e-05/0.1738, allocations: 22.61 kB / 0.6014 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.1738, allocations: 4.859 kB / 0.6014 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.1738, allocations: 0 / 0.6014 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1738, allocations: 46.62 kB / 0.6014 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1738, allocations: 0 / 0.6014 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001313/0.174, allocations: 45.56 kB / 0.6015 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.174, allocations: 51.41 kB / 0.6015 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.38e-05/0.1741, allocations: 97.86 kB / 0.6016 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.1741, allocations: 25.7 kB / 0.6016 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.1742, allocations: 80.39 kB / 0.6017 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.1742, allocations: 11.89 kB / 0.6017 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.1742, allocations: 13.72 kB / 0.6017 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1743, allocations: 314.8 kB / 0.602 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.1743, allocations: 0 / 0.602 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-06/0.1744, allocations: 4 kB / 0.602 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.962e-05/0.1744, allocations: 12.8 kB / 0.602 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1744, allocations: 0 / 0.602 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.104e-05/0.1745, allocations: 41.78 kB / 0.6021 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1745, allocations: 12 kB / 0.6021 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1745, allocations: 3.938 kB / 0.6021 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1745, allocations: 0 / 0.6021 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.1747, allocations: 8 kB / 0.6021 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003752/0.175, allocations: 0.586 MB / 0.6027 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.1751, allocations: 0 / 0.6027 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.1751, allocations: 0 / 0.6027 GB, free: 3.141 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.798e-05/0.1752, allocations: 123.3 kB / 0.6028 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-06/0.1752, allocations: 0 / 0.6028 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.1753, allocations: 44.81 kB / 0.6028 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1753, allocations: 3.938 kB / 0.6028 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1753, allocations: 0 / 0.6028 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1753, allocations: 3.984 kB / 0.6029 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.1754, allocations: 153.6 kB / 0.603 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1754, allocations: 32 / 0.603 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-05/0.1755, allocations: 12 kB / 0.603 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1755, allocations: 0 / 0.603 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.1755, allocations: 0 / 0.603 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003019/0.1758, allocations: 0.5975 MB / 0.6036 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1759, allocations: 3.938 kB / 0.6036 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.523e-05/0.1759, allocations: 61.27 kB / 0.6037 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.176, allocations: 81.11 kB / 0.6037 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.176, allocations: 7.984 kB / 0.6037 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.354e-05/0.176, allocations: 0 / 0.6037 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.1761, allocations: 3.938 kB / 0.6037 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.1761, allocations: 3.938 kB / 0.6037 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.003e-05/0.1761, allocations: 79.28 kB / 0.6038 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1761, allocations: 0 / 0.6038 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001858/0.1763, allocations: 8.125 kB / 0.6038 GB, free: 1.844 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.0001742/0.1765, allocations: 115.2 kB / 0.6039 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.1766, allocations: 23.98 kB / 0.604 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1767, allocations: 0 / 0.604 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.323e-05/0.1767, allocations: 11.98 kB / 0.604 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.1769, allocations: 4 kB / 0.604 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.1772, allocations: 144.8 kB / 0.6041 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.1775, allocations: 0.6692 MB / 0.6048 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.1775, allocations: 11.44 kB / 0.6048 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1775, allocations: 0 / 0.6048 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of Templates: time 0.002278/0.1798, allocations: 0.6936 MB / 0.6055 GB, free: 108 kB / 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)