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.001102/0.001101, allocations: 108 kB / 15.6 MB, free: 132 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.0011/0.0011, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.9394/0.9394, allocations: 143 MB / 433.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.91 kB / 0.5142 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1481, allocations: 82.03 MB / 0.5943 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002497/0.1506, allocations: 1.272 MB / 0.5955 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1517, allocations: 0.6227 MB / 0.5961 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.1517, allocations: 0 / 0.5961 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.1518, allocations: 0 / 0.5961 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.929e-05/0.1518, allocations: 3.938 kB / 0.5961 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.1525, allocations: 143.4 kB / 0.5963 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.018e-05/0.1526, allocations: 23.92 kB / 0.5963 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.1526, allocations: 0 / 0.5963 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.414e-05/0.1526, allocations: 8 kB / 0.5963 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.1527, allocations: 11.92 kB / 0.5963 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.1527, allocations: 0 / 0.5963 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.1532, allocations: 347.3 kB / 0.5966 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.1532, allocations: 4 kB / 0.5966 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.1533, allocations: 7.938 kB / 0.5966 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.1535, allocations: 155.9 kB / 0.5968 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1536, allocations: 0 / 0.5968 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1536, allocations: 0 / 0.5968 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1536, allocations: 0 / 0.5968 GB, free: 6.973 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003887/0.154, allocations: 371.3 kB / 0.5972 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.154, allocations: 8.031 kB / 0.5972 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.154, allocations: 4.938 kB / 0.5972 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1542, allocations: 168.4 kB / 0.5973 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.1542, allocations: 384 / 0.5973 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1542, allocations: 4.375 kB / 0.5973 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.871e-05/0.1543, allocations: 42.19 kB / 0.5974 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1543, allocations: 4.172 kB / 0.5974 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1543, allocations: 3.938 kB / 0.5974 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1543, allocations: 8 kB / 0.5974 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.35e-05/0.1544, allocations: 4 kB / 0.5974 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.1545, allocations: 157.7 kB / 0.5975 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1547, allocations: 42.61 kB / 0.5976 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.1548, allocations: 24.88 kB / 0.5976 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.1548, allocations: 0 / 0.5976 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1548, allocations: 38.5 kB / 0.5976 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.1548, allocations: 0 / 0.5976 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006045/0.1554, allocations: 310.1 kB / 0.5979 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.1555, allocations: 55.41 kB / 0.598 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.1555, allocations: 101.8 kB / 0.5981 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1556, allocations: 25.7 kB / 0.5981 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.1556, allocations: 80.14 kB / 0.5982 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.1556, allocations: 27.78 kB / 0.5982 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.1557, allocations: 17.72 kB / 0.5982 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1558, allocations: 314.8 kB / 0.5985 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.1558, allocations: 15.98 kB / 0.5985 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.36e-05/0.1559, allocations: 15.98 kB / 0.5986 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.454e-05/0.1559, allocations: 24.86 kB / 0.5986 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1559, allocations: 3.938 kB / 0.5986 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001105/0.156, allocations: 69.59 kB / 0.5987 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1561, allocations: 7.938 kB / 0.5987 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1561, allocations: 8 kB / 0.5987 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1561, allocations: 0 / 0.5987 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.1561, allocations: 11.98 kB / 0.5987 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1562, allocations: 0 / 0.5987 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.74e-05/0.1562, allocations: 0 / 0.5987 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.1562, allocations: 4 kB / 0.5987 GB, free: 4.766 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 (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 7.548e-05/0.1563, allocations: 109.8 kB / 0.5988 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.1563, allocations: 8 kB / 0.5988 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.1564, allocations: 81.58 kB / 0.5989 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.1564, allocations: 0 / 0.5989 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1564, allocations: 0 / 0.5989 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1565, allocations: 4.516 kB / 0.5989 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.1568, allocations: 315.3 kB / 0.5992 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1568, allocations: 0 / 0.5992 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.1569, allocations: 11.98 kB / 0.5992 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1569, allocations: 4 kB / 0.5992 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.1569, allocations: 4 kB / 0.5992 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1569, allocations: 4.031 kB / 0.5992 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1569, allocations: 3.938 kB / 0.5992 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.1571, allocations: 184.2 kB / 0.5994 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.1571, allocations: 85.08 kB / 0.5995 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1572, allocations: 4.031 kB / 0.5995 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.1572, allocations: 0 / 0.5995 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.1573, allocations: 12.05 kB / 0.5995 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1573, allocations: 4 kB / 0.5995 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.1573, allocations: 83.22 kB / 0.5996 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1573, allocations: 0 / 0.5996 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002458/0.1576, allocations: 23.94 kB / 0.5996 GB, free: 3.727 MB / 0.4981 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.0001689/0.1578, allocations: 119.2 kB / 0.5997 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.1579, allocations: 35.92 kB / 0.5997 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1579, allocations: 0 / 0.5997 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.967e-05/0.1579, allocations: 27.92 kB / 0.5998 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.1581, allocations: 7.938 kB / 0.5998 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.1586, allocations: 192.3 kB / 0.6 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.1588, allocations: 0.6807 MB / 0.6006 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.233e-05/0.1589, allocations: 4 kB / 0.6006 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.1589, allocations: 11.44 kB / 0.6006 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1589, allocations: 0 / 0.6006 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.002804/0.1617, allocations: 0.6714 MB / 0.6013 GB, free: 1.961 MB / 0.4981 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)