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.001111/0.001111, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001703/0.001703, allocations: 188.1 kB / 16.25 MB, free: 6.625 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.555 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.9827/0.9827, allocations: 143 MB / 433.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.91 kB / 0.5137 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1466, allocations: 82.03 MB / 0.5938 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002172/0.1488, allocations: 1.317 MB / 0.5951 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008804/0.1497, allocations: 0.5879 MB / 0.5956 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.007e-05/0.1497, allocations: 0 / 0.5956 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.1498, allocations: 3.938 kB / 0.5956 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.674e-05/0.1498, allocations: 0 / 0.5956 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.1503, allocations: 121.6 kB / 0.5958 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.762e-05/0.1503, allocations: 11.88 kB / 0.5958 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.1504, allocations: 15.98 kB / 0.5958 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.1504, allocations: 0 / 0.5958 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.882e-05/0.1504, allocations: 11.97 kB / 0.5958 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.1504, allocations: 0 / 0.5958 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004355/0.1509, allocations: 343.3 kB / 0.5961 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.1509, allocations: 0 / 0.5961 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.1509, allocations: 3.938 kB / 0.5961 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.1512, allocations: 147.9 kB / 0.5963 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1512, allocations: 0 / 0.5963 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1512, allocations: 3.938 kB / 0.5963 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.1512, allocations: 0 / 0.5963 GB, free: 7.406 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.0003519/0.1515, allocations: 355.5 kB / 0.5966 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1516, allocations: 12.03 kB / 0.5966 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.1516, allocations: 0.9375 kB / 0.5966 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.951e-05/0.1517, allocations: 168.3 kB / 0.5968 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1517, allocations: 384 / 0.5968 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.1518, allocations: 4.375 kB / 0.5968 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.576e-05/0.1518, allocations: 26.27 kB / 0.5968 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1518, allocations: 4.188 kB / 0.5968 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1519, allocations: 7.938 kB / 0.5968 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1519, allocations: 0 / 0.5968 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.525e-05/0.1519, allocations: 7.938 kB / 0.5968 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.152, allocations: 149.7 kB / 0.597 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.561e-05/0.1521, allocations: 26.61 kB / 0.597 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.1521, allocations: 4.859 kB / 0.597 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1521, allocations: 3.984 kB / 0.597 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.1522, allocations: 38.62 kB / 0.597 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1522, allocations: 0 / 0.597 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001218/0.1523, allocations: 45.58 kB / 0.5971 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.1523, allocations: 51.41 kB / 0.5971 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.623e-05/0.1524, allocations: 97.84 kB / 0.5972 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.1524, allocations: 25.7 kB / 0.5973 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.1525, allocations: 84.14 kB / 0.5973 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.1525, allocations: 8.156 kB / 0.5973 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.1525, allocations: 13.72 kB / 0.5974 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.1526, allocations: 310.8 kB / 0.5977 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.1526, allocations: 8 kB / 0.5977 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-06/0.1526, allocations: 0 / 0.5977 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/0.1527, allocations: 12.84 kB / 0.5977 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1527, allocations: 7.938 kB / 0.5977 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.798e-05/0.1527, allocations: 45.7 kB / 0.5977 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.1528, allocations: 4 kB / 0.5977 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1528, allocations: 3.938 kB / 0.5977 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.1528, allocations: 0 / 0.5977 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1529, allocations: 11.98 kB / 0.5977 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003115/0.1533, allocations: 0.5782 MB / 0.5983 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.1533, allocations: 0 / 0.5983 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.1533, allocations: 4.156 kB / 0.5983 GB, free: 5.066 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.155e-05/0.1534, allocations: 113.8 kB / 0.5984 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.1534, allocations: 3.938 kB / 0.5984 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.459e-05/0.1535, allocations: 52.75 kB / 0.5985 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1535, allocations: 0 / 0.5985 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1535, allocations: 8 kB / 0.5985 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1535, allocations: 0 / 0.5985 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.675e-05/0.1536, allocations: 153.5 kB / 0.5986 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1536, allocations: 4.031 kB / 0.5986 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/0.1537, allocations: 11.98 kB / 0.5986 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1537, allocations: 0 / 0.5986 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.1537, allocations: 4 kB / 0.5987 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002566/0.154, allocations: 0.5821 MB / 0.5992 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.154, allocations: 3.938 kB / 0.5992 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.823e-05/0.154, allocations: 65.25 kB / 0.5993 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.1541, allocations: 77.11 kB / 0.5994 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.1541, allocations: 8 kB / 0.5994 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.662e-05/0.1541, allocations: 0 / 0.5994 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.1541, allocations: 3.938 kB / 0.5994 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.1541, allocations: 0 / 0.5994 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.852e-05/0.1542, allocations: 79.28 kB / 0.5994 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1542, allocations: 0 / 0.5994 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000198/0.1544, allocations: 8.125 kB / 0.5995 GB, free: 3.777 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.0001462/0.1545, allocations: 115.2 kB / 0.5996 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.1547, allocations: 27.92 kB / 0.5996 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1547, allocations: 0 / 0.5996 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.1548, allocations: 15.92 kB / 0.5996 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.1549, allocations: 4.609 kB / 0.5996 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.1552, allocations: 106.1 kB / 0.5997 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.1554, allocations: 0.669 MB / 0.6004 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.573e-05/0.1555, allocations: 4 kB / 0.6004 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.1555, allocations: 7.438 kB / 0.6004 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1555, allocations: 3.938 kB / 0.6004 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of Templates: time 0.002271/0.1578, allocations: 473.8 kB / 0.6008 GB, free: 2.34 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)