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.001086/0.001086, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001223/0.001223, allocations: 191.2 kB / 16.25 MB, free: 6.633 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.294/1.294, allocations: 222.9 MB / 239.9 MB, free: 4.465 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.9414/0.9414, allocations: 143 MB / 433.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.91 kB / 0.5137 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1435, allocations: 82.04 MB / 0.5938 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002605/0.1462, allocations: 1.332 MB / 0.5951 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1473, allocations: 0.6189 MB / 0.5957 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.1474, allocations: 0 / 0.5957 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.1474, allocations: 0 / 0.5957 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.811e-05/0.1475, allocations: 3.938 kB / 0.5957 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007101/0.1482, allocations: 135.6 kB / 0.5958 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.359e-05/0.1482, allocations: 15.94 kB / 0.5959 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.1483, allocations: 4 kB / 0.5959 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.1483, allocations: 7.984 kB / 0.5959 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.1484, allocations: 11.94 kB / 0.5959 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1484, allocations: 0 / 0.5959 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.1489, allocations: 347.3 kB / 0.5962 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.749e-06/0.1489, allocations: 0 / 0.5962 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.149, allocations: 15.92 kB / 0.5962 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.1492, allocations: 143.9 kB / 0.5964 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1492, allocations: 4 kB / 0.5964 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1492, allocations: 3.938 kB / 0.5964 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1493, allocations: 0 / 0.5964 GB, free: 7.242 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.0004321/0.1497, allocations: 363.3 kB / 0.5967 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1497, allocations: 12.03 kB / 0.5967 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.1498, allocations: 0.9375 kB / 0.5967 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1499, allocations: 160.4 kB / 0.5969 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1499, allocations: 4.375 kB / 0.5969 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.15, allocations: 8.312 kB / 0.5969 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1501, allocations: 46.25 kB / 0.5969 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1501, allocations: 192 / 0.5969 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1501, allocations: 3.938 kB / 0.5969 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1501, allocations: 0 / 0.5969 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.046e-05/0.1502, allocations: 19.92 kB / 0.597 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.1504, allocations: 153.7 kB / 0.5971 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.1506, allocations: 50.5 kB / 0.5972 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.1506, allocations: 16.86 kB / 0.5972 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1506, allocations: 0 / 0.5972 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1507, allocations: 34.56 kB / 0.5972 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1507, allocations: 0 / 0.5972 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007075/0.1514, allocations: 318.3 kB / 0.5975 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1515, allocations: 51.41 kB / 0.5976 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.1515, allocations: 101.9 kB / 0.5976 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1516, allocations: 25.7 kB / 0.5977 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.1516, allocations: 80.14 kB / 0.5978 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.1516, allocations: 23.73 kB / 0.5978 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.1517, allocations: 17.72 kB / 0.5978 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1518, allocations: 314.8 kB / 0.5981 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.122e-05/0.1518, allocations: 15.97 kB / 0.5981 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.356e-05/0.1519, allocations: 12 kB / 0.5981 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.795e-05/0.1519, allocations: 36.8 kB / 0.5982 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1519, allocations: 0 / 0.5982 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001085/0.152, allocations: 69.59 kB / 0.5982 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1521, allocations: 7.938 kB / 0.5982 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1521, allocations: 0 / 0.5982 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1521, allocations: 0 / 0.5982 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.1522, allocations: 15.98 kB / 0.5982 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1522, allocations: 0 / 0.5982 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/0.1522, allocations: 0 / 0.5982 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1522, allocations: 0 / 0.5982 GB, free: 5.047 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.674e-05/0.1523, allocations: 121.8 kB / 0.5984 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.1523, allocations: 3.938 kB / 0.5984 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.1525, allocations: 73.64 kB / 0.5984 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1525, allocations: 0 / 0.5984 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1525, allocations: 0 / 0.5984 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1525, allocations: 0 / 0.5984 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.1528, allocations: 315.4 kB / 0.5987 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1528, allocations: 4.219 kB / 0.5987 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.799e-05/0.1529, allocations: 19.98 kB / 0.5988 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1529, allocations: 3.938 kB / 0.5988 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.1529, allocations: 0 / 0.5988 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1529, allocations: 4 kB / 0.5988 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1529, allocations: 3.938 kB / 0.5988 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.1531, allocations: 184.2 kB / 0.5989 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.1532, allocations: 85.2 kB / 0.599 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.1532, allocations: 0 / 0.599 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.1533, allocations: 4 kB / 0.599 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.1533, allocations: 11.92 kB / 0.599 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.1533, allocations: 4 kB / 0.599 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.13e-05/0.1534, allocations: 75.28 kB / 0.5991 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1534, allocations: 0 / 0.5991 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002517/0.1536, allocations: 27.94 kB / 0.5991 GB, free: 4.008 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.0002028/0.1538, allocations: 127.2 kB / 0.5993 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.1539, allocations: 28 kB / 0.5993 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.154, allocations: 4 kB / 0.5993 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.881e-05/0.154, allocations: 19.92 kB / 0.5993 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.1542, allocations: 8.953 kB / 0.5993 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.1547, allocations: 212.6 kB / 0.5995 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.1549, allocations: 0.6807 MB / 0.6002 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.704e-05/0.155, allocations: 8 kB / 0.6002 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.155, allocations: 15.38 kB / 0.6002 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.155, allocations: 0 / 0.6002 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of Templates: time 0.002813/0.1578, allocations: 0.6635 MB / 0.6009 GB, free: 2.223 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)