Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001722/0.001722, allocations: 187.9 kB / 16.13 MB, free: 6.656 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.9451/0.9451, allocations: 143 MB / 433 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1476, allocations: 82.03 MB / 0.5936 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002051/0.1496, allocations: 1.329 MB / 0.5949 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009476/0.1506, allocations: 0.6384 MB / 0.5955 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.1506, allocations: 0 / 0.5955 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.1507, allocations: 0 / 0.5955 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.474e-05/0.1507, allocations: 0 / 0.5955 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.1511, allocations: 127.5 kB / 0.5957 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.536e-05/0.1512, allocations: 23.92 kB / 0.5957 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.359e-05/0.1512, allocations: 0 / 0.5957 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.987e-05/0.1513, allocations: 7.984 kB / 0.5957 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.859e-05/0.1513, allocations: 11.94 kB / 0.5957 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1513, allocations: 0 / 0.5957 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004445/0.1518, allocations: 343.3 kB / 0.596 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.1518, allocations: 4 kB / 0.596 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.1518, allocations: 11.92 kB / 0.596 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.1521, allocations: 144 kB / 0.5962 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1521, allocations: 4 kB / 0.5962 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.41e-07/0.1521, allocations: 3.938 kB / 0.5962 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.1521, allocations: 0 / 0.5962 GB, free: 7.434 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.0003608/0.1524, allocations: 367.3 kB / 0.5965 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1525, allocations: 8.031 kB / 0.5965 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.1525, allocations: 8.938 kB / 0.5965 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.703e-05/0.1526, allocations: 160.4 kB / 0.5967 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.1526, allocations: 384 / 0.5967 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.1527, allocations: 4.375 kB / 0.5967 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.333e-05/0.1528, allocations: 42.25 kB / 0.5967 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1528, allocations: 4.172 kB / 0.5967 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1528, allocations: 7.938 kB / 0.5968 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1528, allocations: 0 / 0.5968 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.609e-05/0.1528, allocations: 11.98 kB / 0.5968 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.153, allocations: 157.7 kB / 0.5969 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.1531, allocations: 42.5 kB / 0.597 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.1532, allocations: 20.86 kB / 0.597 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1532, allocations: 0 / 0.597 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.1532, allocations: 38.5 kB / 0.597 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1532, allocations: 0 / 0.597 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005709/0.1538, allocations: 318.1 kB / 0.5973 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.1539, allocations: 51.41 kB / 0.5974 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.654e-05/0.1539, allocations: 105.8 kB / 0.5975 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.1539, allocations: 25.7 kB / 0.5975 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.154, allocations: 80.14 kB / 0.5976 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.154, allocations: 23.73 kB / 0.5976 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.154, allocations: 17.72 kB / 0.5976 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.1541, allocations: 314.8 kB / 0.5979 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.826e-05/0.1542, allocations: 12 kB / 0.5979 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/0.1542, allocations: 12 kB / 0.5979 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.714e-05/0.1543, allocations: 36.84 kB / 0.598 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1543, allocations: 0 / 0.598 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.609e-05/0.1544, allocations: 65.59 kB / 0.598 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1544, allocations: 11.94 kB / 0.598 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1544, allocations: 3.984 kB / 0.598 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1544, allocations: 0 / 0.598 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.868e-05/0.1545, allocations: 11.94 kB / 0.5981 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1545, allocations: 4 kB / 0.5981 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.1545, allocations: 4.062 kB / 0.5981 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1545, allocations: 0 / 0.5981 GB, free: 5.23 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 6.709e-05/0.1546, allocations: 117.8 kB / 0.5982 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.1546, allocations: 3.938 kB / 0.5982 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.1547, allocations: 73.58 kB / 0.5982 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1548, allocations: 4 kB / 0.5983 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1548, allocations: 0 / 0.5983 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1548, allocations: 0.5156 kB / 0.5983 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.1551, allocations: 311.4 kB / 0.5986 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1551, allocations: 0 / 0.5986 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.43e-05/0.1551, allocations: 23.95 kB / 0.5986 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1552, allocations: 0 / 0.5986 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1552, allocations: 0 / 0.5986 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1552, allocations: 0 / 0.5986 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1552, allocations: 4 kB / 0.5986 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.1553, allocations: 180.2 kB / 0.5987 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.1554, allocations: 89.06 kB / 0.5988 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1554, allocations: 4.062 kB / 0.5988 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.1555, allocations: 4 kB / 0.5988 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.1555, allocations: 15.86 kB / 0.5989 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1555, allocations: 0 / 0.5989 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.214e-05/0.1556, allocations: 79.28 kB / 0.5989 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1556, allocations: 0 / 0.5989 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000256/0.1558, allocations: 27.94 kB / 0.599 GB, free: 4.195 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0001584/0.156, allocations: 129.6 kB / 0.5991 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.264e-05/0.1561, allocations: 28.19 kB / 0.5991 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1561, allocations: 0 / 0.5991 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.127e-05/0.1561, allocations: 27.92 kB / 0.5991 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.1564, allocations: 7.938 kB / 0.5991 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.1568, allocations: 197.8 kB / 0.5993 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.157, allocations: 0.6848 MB / 0.6 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.157, allocations: 4 kB / 0.6 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.157, allocations: 11.44 kB / 0.6 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of SimCode: time 1.442e-06/0.157, allocations: 4 kB / 0.6 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of Templates: time 0.002561/0.1596, allocations: 0.6308 MB / 0.6006 GB, free: 2.449 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)