Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005193/0.005193, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001247/0.001247, allocations: 199.4 kB / 16.68 MB, free: 5.93 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.857/0.857, allocations: 143 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 56.81 kB / 0.5955 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1468, allocations: 82.04 MB / 0.6756 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002138/0.149, allocations: 1.269 MB / 0.6769 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009826/0.15, allocations: 0.6152 MB / 0.6775 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.15, allocations: 0 / 0.6775 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.15, allocations: 3.938 kB / 0.6775 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.267e-05/0.1501, allocations: 3.984 kB / 0.6775 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.1506, allocations: 143.4 kB / 0.6776 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.923e-05/0.1507, allocations: 23.86 kB / 0.6776 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.1507, allocations: 7.984 kB / 0.6776 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.364e-05/0.1507, allocations: 11.94 kB / 0.6777 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.1508, allocations: 7.938 kB / 0.6777 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.1508, allocations: 4 kB / 0.6777 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.1513, allocations: 339.4 kB / 0.678 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.1513, allocations: 3.984 kB / 0.678 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.1513, allocations: 11.94 kB / 0.678 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.1516, allocations: 154.6 kB / 0.6782 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1516, allocations: 0 / 0.6782 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1516, allocations: 3.938 kB / 0.6782 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1516, allocations: 0 / 0.6782 GB, free: 7.723 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003818/0.152, allocations: 363.4 kB / 0.6785 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.152, allocations: 8.031 kB / 0.6785 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.1521, allocations: 8.844 kB / 0.6785 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.1522, allocations: 168.3 kB / 0.6787 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1522, allocations: 384 / 0.6787 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1522, allocations: 4.375 kB / 0.6787 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.428e-05/0.1523, allocations: 38.25 kB / 0.6787 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1523, allocations: 192 / 0.6787 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1523, allocations: 11.94 kB / 0.6787 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1524, allocations: 4 kB / 0.6787 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.634e-05/0.1524, allocations: 11.98 kB / 0.6788 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.1526, allocations: 157.7 kB / 0.6789 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.1527, allocations: 46.5 kB / 0.6789 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.1528, allocations: 16.86 kB / 0.679 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.1528, allocations: 0 / 0.679 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.1528, allocations: 34.56 kB / 0.679 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1528, allocations: 0 / 0.679 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0005716/0.1534, allocations: 314.2 kB / 0.6793 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.1534, allocations: 51.41 kB / 0.6793 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.72e-05/0.1535, allocations: 97.86 kB / 0.6794 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1535, allocations: 25.7 kB / 0.6795 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.1536, allocations: 84.12 kB / 0.6795 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.1536, allocations: 27.66 kB / 0.6796 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.1537, allocations: 17.72 kB / 0.6796 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1538, allocations: 318.8 kB / 0.6799 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.1538, allocations: 15.94 kB / 0.6799 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.127e-05/0.1538, allocations: 12 kB / 0.6799 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.727e-05/0.1539, allocations: 40.83 kB / 0.68 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1539, allocations: 0 / 0.68 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.145e-05/0.154, allocations: 58.2 kB / 0.68 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.154, allocations: 11.94 kB / 0.68 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.154, allocations: 4 kB / 0.68 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1541, allocations: 0 / 0.68 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.249e-05/0.1541, allocations: 11.94 kB / 0.68 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1541, allocations: 4 kB / 0.68 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.1542, allocations: 0 / 0.68 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.1542, allocations: 0 / 0.68 GB, free: 5.523 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.193e-05/0.1542, allocations: 114.5 kB / 0.6801 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.1543, allocations: 7.844 kB / 0.6802 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.1544, allocations: 81.56 kB / 0.6802 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1544, allocations: 4 kB / 0.6802 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1544, allocations: 0 / 0.6802 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1544, allocations: 0 / 0.6802 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.1548, allocations: 315.4 kB / 0.6805 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1548, allocations: 3.984 kB / 0.6805 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.1548, allocations: 16.12 kB / 0.6806 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1548, allocations: 4 kB / 0.6806 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1549, allocations: 0 / 0.6806 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1549, allocations: 32 / 0.6806 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1549, allocations: 8 kB / 0.6806 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.1551, allocations: 180.3 kB / 0.6807 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.1551, allocations: 85.05 kB / 0.6808 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.1551, allocations: 0 / 0.6808 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.1552, allocations: 7.984 kB / 0.6808 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.1552, allocations: 7.938 kB / 0.6808 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1552, allocations: 4.062 kB / 0.6808 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.981e-05/0.1553, allocations: 79.28 kB / 0.6809 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.603e-06/0.1553, allocations: 0 / 0.6809 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002457/0.1555, allocations: 27.92 kB / 0.6809 GB, free: 4.484 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001734/0.1557, allocations: 123.2 kB / 0.6811 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.1558, allocations: 31.98 kB / 0.6811 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1558, allocations: 0 / 0.6811 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.1559, allocations: 23.94 kB / 0.6811 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.1561, allocations: 10.81 kB / 0.6811 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.1565, allocations: 196.6 kB / 0.6813 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.1567, allocations: 0.6884 MB / 0.682 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.907e-05/0.1568, allocations: 4 kB / 0.682 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.1568, allocations: 11.44 kB / 0.682 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.1568, allocations: 0 / 0.682 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of Templates: time 0.002655/0.1595, allocations: 0.6689 MB / 0.6827 GB, free: 2.711 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)