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.0008465/0.0008465, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.0008767/0.0008767, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.15/1.15, allocations: 223.3 MB / 240 MB, free: 5.305 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.8479/0.8479, allocations: 143.2 MB / 434.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000254/0.0002541, allocations: 8 kB / 0.5158 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 83.4 MB / 0.5972 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001084/0.1314, allocations: 1.005 MB / 0.5982 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008013/0.1322, allocations: 0.5651 MB / 0.5988 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.1322, allocations: 0 / 0.5988 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.1323, allocations: 7.922 kB / 0.5988 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.122e-05/0.1323, allocations: 3.984 kB / 0.5988 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.1327, allocations: 119.6 kB / 0.5989 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.32e-05/0.1327, allocations: 19.88 kB / 0.5989 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.1328, allocations: 0 / 0.5989 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.904e-05/0.1328, allocations: 7.984 kB / 0.5989 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.099e-05/0.1329, allocations: 11.98 kB / 0.5989 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.1329, allocations: 7.938 kB / 0.5989 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.1333, allocations: 331.4 kB / 0.5993 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.1333, allocations: 7.938 kB / 0.5993 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.1333, allocations: 33.7 kB / 0.5993 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.1335, allocations: 96.09 kB / 0.5994 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1335, allocations: 0 / 0.5994 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1335, allocations: 0 / 0.5994 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.1335, allocations: 0 / 0.5994 GB, free: 5.879 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.0003208/0.1338, allocations: 359.2 kB / 0.5997 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.1339, allocations: 8.031 kB / 0.5997 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.1339, allocations: 7.859 kB / 0.5998 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.134, allocations: 167.1 kB / 0.5999 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.134, allocations: 4 kB / 0.5999 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.1341, allocations: 0 / 0.5999 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.666e-05/0.1342, allocations: 41.69 kB / 0.6 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1342, allocations: 0 / 0.6 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1342, allocations: 3.938 kB / 0.6 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1342, allocations: 0 / 0.6 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.239e-05/0.1342, allocations: 12 kB / 0.6 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.1344, allocations: 157.6 kB / 0.6001 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1345, allocations: 54.55 kB / 0.6002 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.1346, allocations: 16.94 kB / 0.6002 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.1346, allocations: 4 kB / 0.6002 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.1346, allocations: 34.5 kB / 0.6002 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1346, allocations: 0 / 0.6002 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005132/0.1351, allocations: 306.5 kB / 0.6005 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1352, allocations: 59.41 kB / 0.6006 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.339e-05/0.1353, allocations: 101.8 kB / 0.6007 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1353, allocations: 25.7 kB / 0.6007 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.1353, allocations: 88.14 kB / 0.6008 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.1353, allocations: 11.72 kB / 0.6008 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.1353, allocations: 0 / 0.6008 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.1354, allocations: 326.8 kB / 0.6011 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.1355, allocations: 8 kB / 0.6011 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/0.1355, allocations: 8 kB / 0.6011 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.1355, allocations: 23.98 kB / 0.6011 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.1355, allocations: 0 / 0.6011 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.066e-05/0.1356, allocations: 61.62 kB / 0.6012 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1356, allocations: 8 kB / 0.6012 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1356, allocations: 7.922 kB / 0.6012 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.1357, allocations: 0 / 0.6012 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.467e-05/0.1357, allocations: 8 kB / 0.6012 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1357, allocations: 0 / 0.6012 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.1357, allocations: 8 kB / 0.6012 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.1358, allocations: 3.938 kB / 0.6012 GB, free: 3.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.823e-05/0.1358, allocations: 117.8 kB / 0.6013 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.1358, allocations: 3.906 kB / 0.6013 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.136, allocations: 77.58 kB / 0.6014 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.136, allocations: 0 / 0.6014 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.136, allocations: 4 kB / 0.6014 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.136, allocations: 0 / 0.6014 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.1362, allocations: 311.4 kB / 0.6017 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1363, allocations: 4.031 kB / 0.6017 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-05/0.1363, allocations: 11.98 kB / 0.6017 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1363, allocations: 4 kB / 0.6017 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.1363, allocations: 0 / 0.6017 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1363, allocations: 0 / 0.6017 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1363, allocations: 0 / 0.6017 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.1365, allocations: 188.4 kB / 0.6019 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.1366, allocations: 81.17 kB / 0.602 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1366, allocations: 8.062 kB / 0.602 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.252e-05/0.1367, allocations: 4 kB / 0.602 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.1367, allocations: 3.984 kB / 0.602 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1367, allocations: 4 kB / 0.602 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.096e-05/0.1367, allocations: 83.23 kB / 0.6021 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1367, allocations: 0 / 0.6021 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002186/0.1369, allocations: 23.94 kB / 0.6021 GB, free: 2.703 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001515/0.1371, allocations: 131.2 kB / 0.6022 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.445e-05/0.1372, allocations: 31.94 kB / 0.6023 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1372, allocations: 0 / 0.6023 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.654e-05/0.1372, allocations: 19.98 kB / 0.6023 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.1374, allocations: 1.422 kB / 0.6023 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.1377, allocations: 217.9 kB / 0.6025 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.138, allocations: 0.677 MB / 0.6032 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.138, allocations: 19.92 kB / 0.6032 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.138, allocations: 11.44 kB / 0.6032 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.138, allocations: 0 / 0.6032 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of Templates: time 0.002351/0.1404, allocations: 0.6301 MB / 0.6038 GB, free: 0.9453 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)