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.005092/0.005092, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001131/0.001131, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.8769/0.8769, allocations: 143.1 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 64.47 kB / 0.5955 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1461, allocations: 82.03 MB / 0.6756 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002039/0.1482, allocations: 1.255 MB / 0.6768 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009089/0.1491, allocations: 0.588 MB / 0.6774 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.1491, allocations: 0 / 0.6774 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.1492, allocations: 7.938 kB / 0.6774 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.542e-05/0.1492, allocations: 0 / 0.6774 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.1497, allocations: 139.4 kB / 0.6776 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.004e-05/0.1498, allocations: 15.92 kB / 0.6776 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.1498, allocations: 4 kB / 0.6776 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.843e-05/0.1498, allocations: 3.938 kB / 0.6776 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.1499, allocations: 8 kB / 0.6776 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.1499, allocations: 0 / 0.6776 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004867/0.1504, allocations: 343.3 kB / 0.6779 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.1504, allocations: 4 kB / 0.6779 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.1504, allocations: 7.938 kB / 0.6779 GB, free: 8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.1507, allocations: 131.8 kB / 0.6781 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1507, allocations: 0 / 0.6781 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1507, allocations: 0 / 0.6781 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.1507, allocations: 0 / 0.6781 GB, free: 7.871 MB / 0.5137 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.0003652/0.1511, allocations: 355.4 kB / 0.6784 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1511, allocations: 12.03 kB / 0.6784 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.1511, allocations: 4.938 kB / 0.6784 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1512, allocations: 172.4 kB / 0.6786 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1513, allocations: 4.312 kB / 0.6786 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-06/0.1513, allocations: 384 / 0.6786 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.459e-05/0.1514, allocations: 34.25 kB / 0.6786 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1514, allocations: 192 / 0.6786 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1514, allocations: 3.938 kB / 0.6786 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1514, allocations: 4 kB / 0.6786 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/0.1514, allocations: 0 / 0.6786 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.1516, allocations: 153.7 kB / 0.6788 GB, free: 7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.327e-05/0.1516, allocations: 30.53 kB / 0.6788 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.1516, allocations: 8.922 kB / 0.6788 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.1517, allocations: 0 / 0.6788 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.1517, allocations: 30.56 kB / 0.6788 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1517, allocations: 0 / 0.6788 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001321/0.1518, allocations: 53.64 kB / 0.6789 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.1519, allocations: 59.33 kB / 0.6789 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.901e-05/0.1519, allocations: 93.86 kB / 0.679 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.152, allocations: 25.7 kB / 0.6791 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.152, allocations: 80.14 kB / 0.6791 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.152, allocations: 4 kB / 0.6791 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.1521, allocations: 13.72 kB / 0.6791 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1522, allocations: 318.9 kB / 0.6795 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.1522, allocations: 4 kB / 0.6795 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.1522, allocations: 4 kB / 0.6795 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.792e-05/0.1523, allocations: 12.86 kB / 0.6795 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1523, allocations: 0 / 0.6795 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.996e-05/0.1523, allocations: 45.55 kB / 0.6795 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1524, allocations: 8 kB / 0.6795 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1524, allocations: 3.938 kB / 0.6795 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1524, allocations: 0 / 0.6795 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1525, allocations: 16.08 kB / 0.6795 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003479/0.1529, allocations: 0.5782 MB / 0.6801 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/0.1529, allocations: 0 / 0.6801 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1529, allocations: 0 / 0.6801 GB, free: 5.52 MB / 0.5137 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 8.946e-05/0.153, allocations: 118.5 kB / 0.6802 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-06/0.153, allocations: 0 / 0.6802 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.946e-05/0.1531, allocations: 48.86 kB / 0.6803 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1531, allocations: 3.938 kB / 0.6803 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1532, allocations: 3.984 kB / 0.6803 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1532, allocations: 0 / 0.6803 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.195e-05/0.1533, allocations: 153.6 kB / 0.6804 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1533, allocations: 4 kB / 0.6804 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.1534, allocations: 11.98 kB / 0.6804 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1534, allocations: 0 / 0.6804 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.1534, allocations: 0 / 0.6804 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002951/0.1537, allocations: 0.5938 MB / 0.681 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1537, allocations: 7.875 kB / 0.681 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.646e-05/0.1538, allocations: 61.16 kB / 0.6811 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.1538, allocations: 77.11 kB / 0.6812 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.1538, allocations: 128 / 0.6812 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.1538, allocations: 8 kB / 0.6812 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.1539, allocations: 3.938 kB / 0.6812 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.1539, allocations: 0 / 0.6812 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.598e-05/0.1539, allocations: 87.27 kB / 0.6812 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1539, allocations: 0 / 0.6812 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001908/0.1541, allocations: 7.938 kB / 0.6813 GB, free: 4.219 MB / 0.5137 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.0001639/0.1543, allocations: 111.2 kB / 0.6814 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.1544, allocations: 28.02 kB / 0.6814 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1545, allocations: 3.938 kB / 0.6814 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.1545, allocations: 12 kB / 0.6814 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.1547, allocations: 11.09 kB / 0.6814 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.155, allocations: 99.88 kB / 0.6815 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.1552, allocations: 0.6769 MB / 0.6822 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.953e-05/0.1552, allocations: 0 / 0.6822 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.268e-05/0.1552, allocations: 15.38 kB / 0.6822 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1552, allocations: 0 / 0.6822 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of Templates: time 0.002608/0.1578, allocations: 467.7 kB / 0.6826 GB, free: 2.785 MB / 0.5137 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)