Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006379/0.006379, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001402/0.001402, allocations: 196.1 kB / 16.68 MB, free: 5.926 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.326/1.326, allocations: 222.9 MB / 240.4 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.8907/0.8907, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 60.88 kB / 0.5955 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1475, allocations: 82.05 MB / 0.6756 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002033/0.1495, allocations: 1.272 MB / 0.6769 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009099/0.1505, allocations: 0.623 MB / 0.6775 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.1505, allocations: 0 / 0.6775 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.1505, allocations: 3.984 kB / 0.6775 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.33e-05/0.1506, allocations: 11.92 kB / 0.6775 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.1511, allocations: 147.4 kB / 0.6776 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.28e-05/0.1511, allocations: 31.84 kB / 0.6777 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.1512, allocations: 8 kB / 0.6777 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.151e-05/0.1512, allocations: 7.984 kB / 0.6777 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.1513, allocations: 19.92 kB / 0.6777 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1513, allocations: 0 / 0.6777 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004825/0.1518, allocations: 347.3 kB / 0.678 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.1518, allocations: 4 kB / 0.678 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.1518, allocations: 11.94 kB / 0.678 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.1521, allocations: 159.5 kB / 0.6782 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1521, allocations: 0 / 0.6782 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1521, allocations: 0 / 0.6782 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1521, allocations: 0 / 0.6782 GB, free: 7.684 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003763/0.1525, allocations: 367.4 kB / 0.6786 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1525, allocations: 12.03 kB / 0.6786 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.1526, allocations: 4.844 kB / 0.6786 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.1527, allocations: 172.3 kB / 0.6787 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1527, allocations: 4.375 kB / 0.6787 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.1527, allocations: 12.36 kB / 0.6787 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1529, allocations: 46.25 kB / 0.6788 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.1529, allocations: 4.188 kB / 0.6788 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1529, allocations: 3.938 kB / 0.6788 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1529, allocations: 0 / 0.6788 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.355e-05/0.153, allocations: 19.98 kB / 0.6788 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.1531, allocations: 165.7 kB / 0.679 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1532, allocations: 62.5 kB / 0.679 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.1533, allocations: 28.84 kB / 0.6791 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1533, allocations: 4 kB / 0.6791 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.1533, allocations: 34.56 kB / 0.6791 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.1533, allocations: 3.938 kB / 0.6791 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001036/0.1544, allocations: 0.5917 MB / 0.6797 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.1544, allocations: 55.41 kB / 0.6797 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.979e-05/0.1545, allocations: 97.84 kB / 0.6798 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.1545, allocations: 25.7 kB / 0.6799 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.1546, allocations: 84.14 kB / 0.6799 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.1546, allocations: 39.58 kB / 0.68 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.1547, allocations: 29.72 kB / 0.68 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.1548, allocations: 314.8 kB / 0.6803 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.392e-05/0.1548, allocations: 20 kB / 0.6803 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.15e-05/0.1549, allocations: 30.92 kB / 0.6803 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.935e-05/0.155, allocations: 56.84 kB / 0.6804 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.155, allocations: 0 / 0.6804 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001478/0.1551, allocations: 101.6 kB / 0.6805 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1551, allocations: 5.875 kB / 0.6805 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1551, allocations: 4 kB / 0.6805 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1552, allocations: 0 / 0.6805 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1553, allocations: 27.92 kB / 0.6805 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1553, allocations: 0 / 0.6805 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.536e-05/0.1553, allocations: 0 / 0.6805 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1553, allocations: 7.938 kB / 0.6805 GB, free: 4.977 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 7.332e-05/0.1554, allocations: 114.5 kB / 0.6807 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.1554, allocations: 11.84 kB / 0.6807 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.1556, allocations: 109.5 kB / 0.6808 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1556, allocations: 4 kB / 0.6808 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1556, allocations: 0 / 0.6808 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1556, allocations: 3.984 kB / 0.6808 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.156, allocations: 358.6 kB / 0.6811 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.156, allocations: 0 / 0.6811 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1561, allocations: 27.92 kB / 0.6811 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1561, allocations: 4 kB / 0.6811 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1561, allocations: 0 / 0.6811 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1562, allocations: 0 / 0.6811 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1562, allocations: 4 kB / 0.6812 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1564, allocations: 223.3 kB / 0.6814 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.1564, allocations: 77.11 kB / 0.6814 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1564, allocations: 3.984 kB / 0.6814 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/0.1565, allocations: 8.031 kB / 0.6815 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.1566, allocations: 4 kB / 0.6815 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.1566, allocations: 7.984 kB / 0.6815 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.555e-05/0.1566, allocations: 79.34 kB / 0.6815 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1566, allocations: 0 / 0.6815 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002531/0.1569, allocations: 35.94 kB / 0.6816 GB, free: 3.816 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0001993/0.1571, allocations: 139.2 kB / 0.6817 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.1572, allocations: 55.92 kB / 0.6818 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1572, allocations: 4 kB / 0.6818 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.621e-05/0.1573, allocations: 35.92 kB / 0.6818 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.1575, allocations: 9.016 kB / 0.6818 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.158, allocations: 292.2 kB / 0.6821 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.1582, allocations: 0.6846 MB / 0.6828 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.498e-05/0.1583, allocations: 19.92 kB / 0.6828 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.1583, allocations: 11.44 kB / 0.6828 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.1583, allocations: 0 / 0.6828 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.002921/0.1612, allocations: 0.9718 MB / 0.6837 GB, free: 1.582 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)