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.001515/0.001515, allocations: 110.8 kB / 16.41 MB, free: 6.48 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.001453/0.001453, allocations: 183 kB / 17.34 MB, free: 5.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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.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.8826/0.8826, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 68.08 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.15, allocations: 82.03 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002451/0.1524, allocations: 1.479 MB / 0.6778 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1535, allocations: 0.6304 MB / 0.6784 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.1535, allocations: 4 kB / 0.6784 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.1535, allocations: 7.922 kB / 0.6784 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.998e-05/0.1536, allocations: 3.938 kB / 0.6784 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.1541, allocations: 159.3 kB / 0.6785 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.422e-05/0.1542, allocations: 55.83 kB / 0.6786 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.1542, allocations: 4 kB / 0.6786 GB, free: 8 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.004e-05/0.1543, allocations: 23.92 kB / 0.6786 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.205e-05/0.1543, allocations: 27.86 kB / 0.6786 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1544, allocations: 4 kB / 0.6786 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.1548, allocations: 347.3 kB / 0.679 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.1549, allocations: 15.98 kB / 0.679 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.1549, allocations: 27.84 kB / 0.679 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.1552, allocations: 179.3 kB / 0.6792 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1552, allocations: 0 / 0.6792 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1552, allocations: 0 / 0.6792 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.1552, allocations: 0 / 0.6792 GB, free: 7.387 MB / 0.5137 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.0006488/0.1559, allocations: 406.9 kB / 0.6796 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1559, allocations: 8.031 kB / 0.6796 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.1559, allocations: 4.938 kB / 0.6796 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1561, allocations: 180.3 kB / 0.6798 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.1561, allocations: 4.375 kB / 0.6798 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.1561, allocations: 8.375 kB / 0.6798 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.1564, allocations: 85.41 kB / 0.6799 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1564, allocations: 192 / 0.6799 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.1564, allocations: 3.938 kB / 0.6799 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1564, allocations: 11.98 kB / 0.6799 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.1566, allocations: 47.95 kB / 0.6799 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.1572, allocations: 328.6 kB / 0.6802 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.1575, allocations: 82.52 kB / 0.6803 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.1576, allocations: 28.84 kB / 0.6803 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1576, allocations: 4.141 kB / 0.6803 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1576, allocations: 38.56 kB / 0.6804 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1576, allocations: 0 / 0.6804 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001665/0.1593, allocations: 0.6384 MB / 0.681 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.1594, allocations: 59.34 kB / 0.6811 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.1594, allocations: 105.8 kB / 0.6812 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1594, allocations: 29.7 kB / 0.6812 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.1595, allocations: 96.08 kB / 0.6813 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.1595, allocations: 39.59 kB / 0.6813 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.1596, allocations: 29.7 kB / 0.6813 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1597, allocations: 314.8 kB / 0.6816 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1599, allocations: 31.98 kB / 0.6817 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.16, allocations: 35.97 kB / 0.6817 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.1602, allocations: 68.83 kB / 0.6818 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1602, allocations: 4 kB / 0.6818 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003188/0.1605, allocations: 117.7 kB / 0.6819 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1606, allocations: 6.812 kB / 0.6819 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1606, allocations: 0 / 0.6819 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1606, allocations: 0 / 0.6819 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1607, allocations: 31.98 kB / 0.6819 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1607, allocations: 4 kB / 0.6819 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/0.1608, allocations: 11.92 kB / 0.6819 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1608, allocations: 0 / 0.6819 GB, free: 4.258 MB / 0.5137 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.396e-05/0.1609, allocations: 113.8 kB / 0.6821 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.1609, allocations: 11.89 kB / 0.6821 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.1613, allocations: 125.6 kB / 0.6822 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1613, allocations: 7.984 kB / 0.6822 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1613, allocations: 4 kB / 0.6822 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1613, allocations: 3.938 kB / 0.6822 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005774/0.1619, allocations: 386.4 kB / 0.6826 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1619, allocations: 0 / 0.6826 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.162, allocations: 27.97 kB / 0.6826 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.162, allocations: 0 / 0.6826 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1621, allocations: 3.938 kB / 0.6826 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1621, allocations: 4 kB / 0.6826 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1621, allocations: 4 kB / 0.6826 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.1626, allocations: 251.6 kB / 0.6828 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.1626, allocations: 81.25 kB / 0.6829 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.1626, allocations: 3.938 kB / 0.6829 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1627, allocations: 20 kB / 0.6829 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.1628, allocations: 64 / 0.6829 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.1628, allocations: 11.98 kB / 0.683 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.409e-05/0.1628, allocations: 83.28 kB / 0.683 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5e-08/0.1628, allocations: 0 / 0.683 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002652/0.1631, allocations: 39.88 kB / 0.6831 GB, free: 2.988 MB / 0.5137 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.0002143/0.1633, allocations: 127.1 kB / 0.6832 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003137/0.1636, allocations: 83.38 kB / 0.6833 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1636, allocations: 8 kB / 0.6833 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.1637, allocations: 39.91 kB / 0.6833 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.164, allocations: 15.98 kB / 0.6833 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006522/0.1647, allocations: 338.9 kB / 0.6837 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.165, allocations: 0.6963 MB / 0.6843 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.165, allocations: 19.42 kB / 0.6844 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.165, allocations: 0 / 0.6844 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of Templates: time 0.003237/0.1683, allocations: 1.349 MB / 0.6857 GB, free: 272 kB / 0.5137 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)