Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 109 kB / 16.41 MB, free: 6.449 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.001273/0.001273, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.14 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.8797/0.8797, allocations: 143.1 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.67 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1525, allocations: 82.03 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002434/0.155, allocations: 1.282 MB / 0.6776 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.156, allocations: 0.623 MB / 0.6782 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.156, allocations: 0 / 0.6782 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.156, allocations: 0 / 0.6782 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.736e-05/0.1561, allocations: 11.92 kB / 0.6782 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.1566, allocations: 143.4 kB / 0.6783 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.63e-05/0.1567, allocations: 35.84 kB / 0.6784 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.1567, allocations: 0 / 0.6784 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.367e-05/0.1567, allocations: 12 kB / 0.6784 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.902e-05/0.1568, allocations: 19.86 kB / 0.6784 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.1568, allocations: 0 / 0.6784 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005036/0.1573, allocations: 347.3 kB / 0.6787 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.1573, allocations: 0 / 0.6787 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.1573, allocations: 23.92 kB / 0.6787 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.1576, allocations: 151.5 kB / 0.6789 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1576, allocations: 3.984 kB / 0.6789 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1576, allocations: 0 / 0.6789 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.1576, allocations: 0 / 0.6789 GB, free: 7.699 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004946/0.1581, allocations: 375 kB / 0.6793 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1581, allocations: 8.031 kB / 0.6793 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.1582, allocations: 8.922 kB / 0.6793 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.1583, allocations: 164.3 kB / 0.6794 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1584, allocations: 4.375 kB / 0.6794 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1584, allocations: 8.375 kB / 0.6794 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.1585, allocations: 50.19 kB / 0.6795 GB, free: 7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1585, allocations: 192 / 0.6795 GB, free: 7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1585, allocations: 3.938 kB / 0.6795 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1585, allocations: 0 / 0.6795 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.1586, allocations: 19.98 kB / 0.6795 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.1588, allocations: 173.6 kB / 0.6797 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.1589, allocations: 58.56 kB / 0.6797 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.159, allocations: 32.78 kB / 0.6798 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.159, allocations: 0 / 0.6798 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.159, allocations: 34.56 kB / 0.6798 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/0.159, allocations: 0 / 0.6798 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001192/0.1602, allocations: 0.5954 MB / 0.6804 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.1603, allocations: 51.41 kB / 0.6804 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.1604, allocations: 97.86 kB / 0.6805 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1604, allocations: 25.7 kB / 0.6805 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.1604, allocations: 80.14 kB / 0.6806 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.1605, allocations: 43.62 kB / 0.6807 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.1605, allocations: 29.83 kB / 0.6807 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1607, allocations: 318.8 kB / 0.681 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.541e-05/0.1607, allocations: 23.98 kB / 0.681 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.247e-05/0.1608, allocations: 27.47 kB / 0.681 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.1609, allocations: 64.72 kB / 0.6811 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1609, allocations: 0 / 0.6811 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001572/0.161, allocations: 97.58 kB / 0.6812 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.161, allocations: 4 kB / 0.6812 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.161, allocations: 0 / 0.6812 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1611, allocations: 4 kB / 0.6812 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.1612, allocations: 27.98 kB / 0.6812 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1612, allocations: 0 / 0.6812 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.359e-05/0.1612, allocations: 4 kB / 0.6812 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1612, allocations: 7.938 kB / 0.6812 GB, free: 4.984 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 (13): * Single equations (assignments): 13 * 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.329e-05/0.1613, allocations: 113.8 kB / 0.6813 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.1613, allocations: 11.92 kB / 0.6814 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.1615, allocations: 105.6 kB / 0.6815 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1615, allocations: 4 kB / 0.6815 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1615, allocations: 0 / 0.6815 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1615, allocations: 0 / 0.6815 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.162, allocations: 362.5 kB / 0.6818 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.162, allocations: 0 / 0.6818 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.1621, allocations: 19.98 kB / 0.6818 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1621, allocations: 0 / 0.6818 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1621, allocations: 8 kB / 0.6818 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1621, allocations: 0 / 0.6818 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1621, allocations: 0 / 0.6818 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.1623, allocations: 227.3 kB / 0.6821 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.1624, allocations: 81.14 kB / 0.6821 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1624, allocations: 0 / 0.6821 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.1625, allocations: 4 kB / 0.6821 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.1625, allocations: 15.92 kB / 0.6822 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.1625, allocations: 0 / 0.6822 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.836e-05/0.1625, allocations: 79.28 kB / 0.6822 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1625, allocations: 4.156 kB / 0.6822 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002633/0.1628, allocations: 35.88 kB / 0.6823 GB, free: 3.828 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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 (11): * Single equations (assignments): 11 * 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.0002133/0.163, allocations: 131 kB / 0.6824 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001503/0.1632, allocations: 63.91 kB / 0.6824 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1632, allocations: 4 kB / 0.6825 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.747e-05/0.1632, allocations: 27.94 kB / 0.6825 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.1634, allocations: 9.016 kB / 0.6825 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.164, allocations: 318.1 kB / 0.6828 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1643, allocations: 0.6885 MB / 0.6835 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.1644, allocations: 11.44 kB / 0.6835 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1644, allocations: 0 / 0.6835 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.002863/0.1672, allocations: 1.165 MB / 0.6846 GB, free: 1.363 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)