Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006884/0.0006884, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0007252/0.0007253, allocations: 168.7 kB / 15.95 MB, free: 204 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.163/1.163, allocations: 223.3 MB / 240 MB, free: 5.414 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.8721/0.8721, allocations: 143.2 MB / 434.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003222, allocations: 8 kB / 0.5158 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1281, allocations: 83.42 MB / 0.5973 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001333/0.1294, allocations: 1.175 MB / 0.5984 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008796/0.1303, allocations: 0.5844 MB / 0.599 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.1303, allocations: 0 / 0.599 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.1304, allocations: 0 / 0.599 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.645e-05/0.1304, allocations: 7.938 kB / 0.599 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.1309, allocations: 142.7 kB / 0.5991 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.894e-05/0.131, allocations: 43.84 kB / 0.5992 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.131, allocations: 3.984 kB / 0.5992 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.491e-05/0.1311, allocations: 27.92 kB / 0.5992 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.844e-05/0.1311, allocations: 23.91 kB / 0.5992 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.1311, allocations: 8 kB / 0.5992 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004346/0.1316, allocations: 331.3 kB / 0.5995 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.1316, allocations: 8 kB / 0.5995 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.1316, allocations: 37.64 kB / 0.5996 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.1318, allocations: 124 kB / 0.5997 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1318, allocations: 0 / 0.5997 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1318, allocations: 0 / 0.5997 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.1318, allocations: 0 / 0.5997 GB, free: 5.531 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004788/0.1323, allocations: 395.2 kB / 0.6001 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.1324, allocations: 8.031 kB / 0.6001 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.1324, allocations: 15.8 kB / 0.6001 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.808e-05/0.1325, allocations: 163.1 kB / 0.6002 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.1325, allocations: 7.938 kB / 0.6003 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.1326, allocations: 8 kB / 0.6003 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.1328, allocations: 89.59 kB / 0.6004 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1328, allocations: 3.984 kB / 0.6004 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1328, allocations: 4 kB / 0.6004 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1328, allocations: 0 / 0.6004 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.133, allocations: 51.97 kB / 0.6004 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.1335, allocations: 332.6 kB / 0.6007 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.1338, allocations: 94.53 kB / 0.6008 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.591e-05/0.1339, allocations: 28.84 kB / 0.6008 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1339, allocations: 0 / 0.6008 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.1339, allocations: 38.52 kB / 0.6009 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.1339, allocations: 0 / 0.6009 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001399/0.1353, allocations: 0.6735 MB / 0.6015 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.1354, allocations: 55.34 kB / 0.6016 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.432e-05/0.1354, allocations: 101.8 kB / 0.6017 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1355, allocations: 29.7 kB / 0.6017 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.1355, allocations: 88.05 kB / 0.6018 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.1356, allocations: 43.44 kB / 0.6018 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.1356, allocations: 4 kB / 0.6018 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.1357, allocations: 314.8 kB / 0.6021 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1358, allocations: 35.97 kB / 0.6022 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.1359, allocations: 39.97 kB / 0.6022 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.136, allocations: 36 kB / 0.6023 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.136, allocations: 0 / 0.6023 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002697/0.1363, allocations: 127.8 kB / 0.6024 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1363, allocations: 13.7 kB / 0.6024 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1363, allocations: 0 / 0.6024 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.1363, allocations: 0 / 0.6024 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1365, allocations: 35.92 kB / 0.6024 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1365, allocations: 0 / 0.6024 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.1366, allocations: 4 kB / 0.6024 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1366, allocations: 7.984 kB / 0.6024 GB, free: 2.426 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 (13): * Single equations (assignments): 13 * 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 6.826e-05/0.1367, allocations: 121.8 kB / 0.6025 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.1367, allocations: 8.141 kB / 0.6026 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.137, allocations: 149.5 kB / 0.6027 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.137, allocations: 0 / 0.6027 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.137, allocations: 0 / 0.6027 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.137, allocations: 3.984 kB / 0.6027 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.1375, allocations: 394.4 kB / 0.6031 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1375, allocations: 0 / 0.6031 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.1377, allocations: 31.92 kB / 0.6031 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1377, allocations: 0 / 0.6031 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1377, allocations: 3.984 kB / 0.6031 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1377, allocations: 4 kB / 0.6031 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1377, allocations: 0 / 0.6031 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/0.1381, allocations: 259.4 kB / 0.6034 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.1382, allocations: 89 kB / 0.6034 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.1382, allocations: 4 kB / 0.6035 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1383, allocations: 7.984 kB / 0.6035 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.1383, allocations: 7.938 kB / 0.6035 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.577e-06/0.1383, allocations: 8 kB / 0.6035 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.968e-05/0.1384, allocations: 83.27 kB / 0.6036 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1384, allocations: 0 / 0.6036 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002443/0.1386, allocations: 40 kB / 0.6036 GB, free: 1.125 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001698/0.1388, allocations: 139.1 kB / 0.6037 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.1391, allocations: 87.89 kB / 0.6038 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1391, allocations: 4 kB / 0.6038 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.1392, allocations: 47.97 kB / 0.6039 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.1395, allocations: 8.609 kB / 0.6039 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005505/0.14, allocations: 376.9 kB / 0.6042 GB, free: 448 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2103/0.3503, allocations: 0.6898 MB / 0.6049 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.275e-05/0.3504, allocations: 16.11 kB / 0.6049 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.3504, allocations: 13.88 kB / 0.6049 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of SimCode: time 7.92e-07/0.3505, allocations: 1.281 kB / 0.6049 GB, free: 40.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.002797/0.3533, allocations: 1.076 MB / 0.606 GB, free: 40.7 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)