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.001059/0.001058, allocations: 98.48 kB / 16.02 MB, free: 76 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.001438/0.001438, allocations: 186.1 kB / 16.92 MB, free: 6.75 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.46/1.46, allocations: 223.3 MB / 241 MB, free: 5.324 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.002/1.002, allocations: 143.2 MB / 435.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 12 kB / 0.5171 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.177, allocations: 83.4 MB / 0.5985 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00142/0.1785, allocations: 0.9995 MB / 0.5995 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1796, allocations: 0.6307 MB / 0.6001 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.564e-05/0.1796, allocations: 0 / 0.6001 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.1796, allocations: 0 / 0.6001 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.256e-05/0.1797, allocations: 3.938 kB / 0.6001 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.1802, allocations: 123.6 kB / 0.6002 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.74e-05/0.1802, allocations: 19.94 kB / 0.6002 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.1803, allocations: 3.984 kB / 0.6002 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.048e-05/0.1803, allocations: 11.98 kB / 0.6002 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.1804, allocations: 7.938 kB / 0.6003 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.1804, allocations: 0 / 0.6003 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004698/0.1809, allocations: 347.3 kB / 0.6006 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.1809, allocations: 4 kB / 0.6006 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.1809, allocations: 37.62 kB / 0.6006 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.1811, allocations: 92.11 kB / 0.6007 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1811, allocations: 4 kB / 0.6007 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1811, allocations: 0 / 0.6007 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1811, allocations: 4 kB / 0.6007 GB, free: 5.367 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.0004303/0.1816, allocations: 363.3 kB / 0.6011 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1816, allocations: 8.031 kB / 0.6011 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.1817, allocations: 8.844 kB / 0.6011 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.1818, allocations: 164.4 kB / 0.6012 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1818, allocations: 384 / 0.6012 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1818, allocations: 8.375 kB / 0.6013 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.182, allocations: 38.25 kB / 0.6013 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.182, allocations: 8.188 kB / 0.6013 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.182, allocations: 3.938 kB / 0.6013 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.182, allocations: 0 / 0.6013 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.701e-05/0.182, allocations: 7.984 kB / 0.6013 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.1822, allocations: 161.7 kB / 0.6015 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.1824, allocations: 42.5 kB / 0.6015 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.1825, allocations: 16.86 kB / 0.6015 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1825, allocations: 7.938 kB / 0.6015 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.1825, allocations: 34.56 kB / 0.6016 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.1825, allocations: 0 / 0.6016 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006103/0.1831, allocations: 314.2 kB / 0.6019 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.1832, allocations: 51.41 kB / 0.6019 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/0.1833, allocations: 97.8 kB / 0.602 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1833, allocations: 29.7 kB / 0.602 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.854e-05/0.1833, allocations: 84.14 kB / 0.6021 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.1834, allocations: 23.69 kB / 0.6021 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.1834, allocations: 13.72 kB / 0.6021 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1835, allocations: 314.8 kB / 0.6024 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.1835, allocations: 11.98 kB / 0.6025 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/0.1836, allocations: 12 kB / 0.6025 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.453e-05/0.1836, allocations: 28.86 kB / 0.6025 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.1836, allocations: 0 / 0.6025 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.609e-05/0.1837, allocations: 73.59 kB / 0.6026 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1837, allocations: 7.938 kB / 0.6026 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1838, allocations: 0 / 0.6026 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1838, allocations: 0 / 0.6026 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.177e-05/0.1838, allocations: 16.44 kB / 0.6026 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1838, allocations: 4 kB / 0.6026 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.1839, allocations: 0 / 0.6026 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.1839, allocations: 4.172 kB / 0.6026 GB, free: 3.176 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.761e-05/0.184, allocations: 113.8 kB / 0.6027 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.184, allocations: 7.875 kB / 0.6027 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.1841, allocations: 77.58 kB / 0.6028 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1841, allocations: 7.984 kB / 0.6028 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1841, allocations: 0 / 0.6028 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1841, allocations: 0 / 0.6028 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.1845, allocations: 315.4 kB / 0.6031 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1845, allocations: 0 / 0.6031 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-05/0.1846, allocations: 19.92 kB / 0.6031 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1846, allocations: 0 / 0.6031 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1846, allocations: 4.031 kB / 0.6031 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1846, allocations: 0 / 0.6031 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1846, allocations: 4 kB / 0.6031 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.1848, allocations: 184.4 kB / 0.6033 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.1848, allocations: 85.12 kB / 0.6034 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.1849, allocations: 0 / 0.6034 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-05/0.1849, allocations: 4 kB / 0.6034 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.185, allocations: 15.98 kB / 0.6034 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.185, allocations: 0 / 0.6034 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.521e-05/0.185, allocations: 79.28 kB / 0.6035 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.185, allocations: 0 / 0.6035 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002417/0.1853, allocations: 23.94 kB / 0.6035 GB, free: 2.137 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.000189/0.1855, allocations: 115.2 kB / 0.6036 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.811e-05/0.1856, allocations: 31.98 kB / 0.6036 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1856, allocations: 4 kB / 0.6036 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.385e-05/0.1856, allocations: 23.92 kB / 0.6037 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.1858, allocations: 12.17 kB / 0.6037 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.1863, allocations: 247.2 kB / 0.6039 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.1865, allocations: 0.677 MB / 0.6046 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.1865, allocations: 11.44 kB / 0.6046 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1866, allocations: 0 / 0.6046 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of Templates: time 0.002389/0.1889, allocations: 0.8119 MB / 0.6054 GB, free: 156 kB / 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)