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.001152/0.001152, allocations: 92.16 kB / 16.02 MB, free: 80 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.001679/0.001679, allocations: 179.1 kB / 16.92 MB, free: 6.652 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.471/1.471, allocations: 223.3 MB / 241 MB, free: 5.309 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 1.02/1.02, allocations: 143.2 MB / 435.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003872, allocations: 15.98 kB / 0.5171 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1848, allocations: 83.41 MB / 0.5985 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001937/0.1868, allocations: 1.19 MB / 0.5997 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.188, allocations: 0.6346 MB / 0.6003 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/0.188, allocations: 0 / 0.6003 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.396e-05/0.1881, allocations: 3.938 kB / 0.6003 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.535e-05/0.1882, allocations: 7.922 kB / 0.6003 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006732/0.1888, allocations: 134.2 kB / 0.6004 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.405e-05/0.1889, allocations: 55.83 kB / 0.6005 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.189, allocations: 0 / 0.6005 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.415e-05/0.1891, allocations: 27.92 kB / 0.6005 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.1891, allocations: 27.91 kB / 0.6005 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1891, allocations: 4 kB / 0.6005 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005166/0.1897, allocations: 339.3 kB / 0.6009 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.1897, allocations: 19.91 kB / 0.6009 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.155e-05/0.1898, allocations: 49.56 kB / 0.6009 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.19, allocations: 120 kB / 0.601 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.19, allocations: 0 / 0.601 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.19, allocations: 0 / 0.601 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.19, allocations: 0 / 0.601 GB, free: 5.09 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.00065/0.1907, allocations: 391.4 kB / 0.6014 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1907, allocations: 8.031 kB / 0.6014 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.1908, allocations: 8.844 kB / 0.6014 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.1909, allocations: 168.3 kB / 0.6016 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.191, allocations: 4.375 kB / 0.6016 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.191, allocations: 12.36 kB / 0.6016 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.1913, allocations: 82.22 kB / 0.6017 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1913, allocations: 8.172 kB / 0.6017 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.1913, allocations: 3.938 kB / 0.6017 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1913, allocations: 0 / 0.6017 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.1916, allocations: 59.89 kB / 0.6018 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/0.1922, allocations: 336.6 kB / 0.6021 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.1925, allocations: 94.47 kB / 0.6022 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.1926, allocations: 32.78 kB / 0.6022 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1927, allocations: 0 / 0.6022 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.1927, allocations: 42.56 kB / 0.6022 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1927, allocations: 0 / 0.6022 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001752/0.1945, allocations: 0.6658 MB / 0.6029 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.1945, allocations: 55.41 kB / 0.6029 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.684e-05/0.1946, allocations: 109.8 kB / 0.603 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.1947, allocations: 25.7 kB / 0.6031 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.1947, allocations: 92.05 kB / 0.6032 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.1948, allocations: 35.45 kB / 0.6032 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.1948, allocations: 21.7 kB / 0.6032 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1949, allocations: 314.8 kB / 0.6035 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.1951, allocations: 40.09 kB / 0.6036 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.1952, allocations: 35.98 kB / 0.6036 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.1955, allocations: 87.02 kB / 0.6037 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1955, allocations: 0 / 0.6037 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003294/0.1958, allocations: 125.6 kB / 0.6038 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1959, allocations: 4 kB / 0.6038 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1959, allocations: 0 / 0.6038 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1959, allocations: 4 kB / 0.6038 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.196, allocations: 27.97 kB / 0.6038 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.1961, allocations: 7.938 kB / 0.6038 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/0.1961, allocations: 11.94 kB / 0.6038 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1962, allocations: 4 kB / 0.6038 GB, free: 1.906 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.639e-05/0.1962, allocations: 113.8 kB / 0.604 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.1963, allocations: 7.984 kB / 0.604 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/0.1967, allocations: 141.4 kB / 0.6041 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1967, allocations: 4 kB / 0.6041 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1967, allocations: 0 / 0.6041 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1967, allocations: 3.938 kB / 0.6041 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005675/0.1973, allocations: 394.5 kB / 0.6045 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1973, allocations: 7.938 kB / 0.6045 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.1974, allocations: 23.98 kB / 0.6045 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1975, allocations: 0 / 0.6045 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.1975, allocations: 11.94 kB / 0.6045 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1975, allocations: 3.938 kB / 0.6045 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1975, allocations: 4.172 kB / 0.6045 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.198, allocations: 251.5 kB / 0.6048 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.1981, allocations: 85 kB / 0.6049 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.1981, allocations: 11.97 kB / 0.6049 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.1982, allocations: 4 kB / 0.6049 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.1982, allocations: 12.05 kB / 0.6049 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.1983, allocations: 8 kB / 0.6049 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.762e-05/0.1983, allocations: 87.2 kB / 0.605 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1983, allocations: 0 / 0.605 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002726/0.1986, allocations: 39.94 kB / 0.605 GB, free: 0.6055 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 (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.0002286/0.1988, allocations: 135.1 kB / 0.6051 GB, free: 476 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.1992, allocations: 92.39 kB / 0.6052 GB, free: 384 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1992, allocations: 0 / 0.6052 GB, free: 384 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.1993, allocations: 51.86 kB / 0.6053 GB, free: 332 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.1996, allocations: 15.8 kB / 0.6053 GB, free: 320 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2828/0.4824, allocations: 403.9 kB / 0.6057 GB, free: 41.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.4826, allocations: 0.6933 MB / 0.6064 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.4826, allocations: 16.17 kB / 0.6064 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of SimCode: time 7.32e-07/0.4826, allocations: 0 / 0.6064 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.002813/0.4855, allocations: 1.32 MB / 0.6077 GB, free: 40.38 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)