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.001603/0.001603, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001573/0.001573, allocations: 187 kB / 17.34 MB, free: 5.762 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.417/1.417, allocations: 222.9 MB / 241 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.88/0.88, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 68.47 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1555, allocations: 82.04 MB / 0.6763 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.002409/0.1579, allocations: 1.273 MB / 0.6776 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009861/0.159, allocations: 0.6113 MB / 0.6782 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.159, allocations: 4 kB / 0.6782 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.1591, allocations: 3.938 kB / 0.6782 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.693e-05/0.1591, allocations: 4 kB / 0.6782 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.1597, allocations: 150.4 kB / 0.6783 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.052e-05/0.1598, allocations: 23.86 kB / 0.6783 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.1599, allocations: 4 kB / 0.6783 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.281e-05/0.1599, allocations: 7.984 kB / 0.6783 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.519e-05/0.16, allocations: 11.92 kB / 0.6784 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.16, allocations: 4 kB / 0.6784 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005062/0.1605, allocations: 343.3 kB / 0.6787 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.1605, allocations: 4 kB / 0.6787 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.1606, allocations: 11.92 kB / 0.6787 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.1609, allocations: 147.6 kB / 0.6788 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1609, allocations: 0 / 0.6788 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1609, allocations: 0 / 0.6788 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1609, allocations: 0 / 0.6788 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.0004991/0.1614, allocations: 355.5 kB / 0.6792 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.1615, allocations: 12.03 kB / 0.6792 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.1615, allocations: 8.844 kB / 0.6792 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.1616, allocations: 172.4 kB / 0.6794 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1617, allocations: 4.375 kB / 0.6794 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.1617, allocations: 384 / 0.6794 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.1618, allocations: 42.25 kB / 0.6794 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1618, allocations: 192 / 0.6794 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1618, allocations: 3.938 kB / 0.6794 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1618, allocations: 0 / 0.6794 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.171e-05/0.1619, allocations: 11.94 kB / 0.6794 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.1621, allocations: 165.7 kB / 0.6796 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.1623, allocations: 38.61 kB / 0.6796 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.863e-05/0.1623, allocations: 20.94 kB / 0.6796 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1623, allocations: 3.938 kB / 0.6796 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.1624, allocations: 34.56 kB / 0.6797 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.1624, allocations: 0 / 0.6797 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006427/0.163, allocations: 314.2 kB / 0.68 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.1631, allocations: 55.34 kB / 0.68 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.209e-05/0.1632, allocations: 101.8 kB / 0.6801 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1632, allocations: 25.7 kB / 0.6802 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.1632, allocations: 80.14 kB / 0.6802 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.1633, allocations: 23.7 kB / 0.6803 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.1633, allocations: 17.72 kB / 0.6803 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.485e-05/0.1634, allocations: 318.8 kB / 0.6806 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.673e-05/0.1635, allocations: 15.92 kB / 0.6806 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.275e-05/0.1635, allocations: 15.98 kB / 0.6806 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.456e-05/0.1635, allocations: 28.86 kB / 0.6806 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1635, allocations: 0 / 0.6806 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.584e-05/0.1636, allocations: 69.62 kB / 0.6807 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1637, allocations: 7.938 kB / 0.6807 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1637, allocations: 0.5156 kB / 0.6807 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1637, allocations: 0 / 0.6807 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.642e-05/0.1638, allocations: 15.98 kB / 0.6807 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1638, allocations: 4 kB / 0.6807 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.1638, allocations: 0 / 0.6807 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1638, allocations: 0 / 0.6807 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 6.923e-05/0.1639, allocations: 113.8 kB / 0.6808 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.1639, allocations: 11.78 kB / 0.6808 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.1641, allocations: 85.5 kB / 0.6809 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1641, allocations: 0 / 0.6809 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1641, allocations: 0 / 0.6809 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1641, allocations: 4 kB / 0.6809 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.1644, allocations: 315.3 kB / 0.6812 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1644, allocations: 0 / 0.6812 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.355e-05/0.1645, allocations: 19.98 kB / 0.6812 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1645, allocations: 0 / 0.6812 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.1645, allocations: 192 / 0.6812 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.1645, allocations: 8 kB / 0.6813 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1645, allocations: 0 / 0.6813 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.1647, allocations: 180.4 kB / 0.6814 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.1647, allocations: 89.03 kB / 0.6815 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.1648, allocations: 0 / 0.6815 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.1648, allocations: 3.938 kB / 0.6815 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.1649, allocations: 11.98 kB / 0.6815 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1649, allocations: 4 kB / 0.6815 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.97e-05/0.1649, allocations: 75.28 kB / 0.6816 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1649, allocations: 4.062 kB / 0.6816 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002449/0.1652, allocations: 20 kB / 0.6816 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.0001831/0.1654, allocations: 119.2 kB / 0.6817 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.1655, allocations: 39.92 kB / 0.6818 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1655, allocations: 4 kB / 0.6818 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.1655, allocations: 11.98 kB / 0.6818 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.1658, allocations: 11.94 kB / 0.6818 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.1662, allocations: 224.7 kB / 0.682 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.1664, allocations: 0.6807 MB / 0.6827 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.1665, allocations: 15.44 kB / 0.6827 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1665, allocations: 0 / 0.6827 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.002315/0.1688, allocations: 0.8212 MB / 0.6835 GB, free: 2.504 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)