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.005475/0.005475, allocations: 98.53 kB / 15.73 MB, free: 6.039 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.001467/0.001467, allocations: 198.9 kB / 16.68 MB, free: 5.973 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.9696/0.9696, allocations: 143 MB / 433.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 0.5955 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4764, allocations: 82.03 MB / 0.6756 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00204/0.4785, allocations: 1.28 MB / 0.6769 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.4795, allocations: 0.6309 MB / 0.6775 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.4796, allocations: 1.031 kB / 0.6775 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.4796, allocations: 0 / 0.6775 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.4797, allocations: 9.234 kB / 0.6775 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.4802, allocations: 141.1 kB / 0.6776 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.687e-05/0.4803, allocations: 29.19 kB / 0.6777 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.4803, allocations: 10.41 kB / 0.6777 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.93e-05/0.4804, allocations: 9.797 kB / 0.6777 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.031e-05/0.4805, allocations: 12.75 kB / 0.6777 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.4805, allocations: 1.406 kB / 0.6777 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006412/0.4811, allocations: 345.5 kB / 0.678 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.4812, allocations: 10.05 kB / 0.678 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.4812, allocations: 17.3 kB / 0.6781 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.4816, allocations: 150.1 kB / 0.6782 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4816, allocations: 1.156 kB / 0.6782 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4816, allocations: 0 / 0.6782 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.4816, allocations: 0 / 0.6782 GB, free: 15.51 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.0004719/0.4821, allocations: 373.4 kB / 0.6786 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.4821, allocations: 9.125 kB / 0.6786 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.4822, allocations: 7.219 kB / 0.6786 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.4823, allocations: 161.5 kB / 0.6787 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4823, allocations: 1.438 kB / 0.6787 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.4823, allocations: 11.94 kB / 0.6787 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.4825, allocations: 49.11 kB / 0.6788 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4825, allocations: 1.156 kB / 0.6788 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.4825, allocations: 11.94 kB / 0.6788 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4825, allocations: 1.375 kB / 0.6788 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.462e-05/0.4826, allocations: 22.78 kB / 0.6788 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.4828, allocations: 158.1 kB / 0.679 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.4829, allocations: 62.95 kB / 0.679 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.695e-05/0.483, allocations: 30.81 kB / 0.6791 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.483, allocations: 0 / 0.6791 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.483, allocations: 40.75 kB / 0.6791 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.483, allocations: 0 / 0.6791 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001351/0.4844, allocations: 0.5916 MB / 0.6797 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.4844, allocations: 56.56 kB / 0.6797 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.908e-05/0.4845, allocations: 100 kB / 0.6798 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.4846, allocations: 26.86 kB / 0.6799 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.4846, allocations: 85.39 kB / 0.6799 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/0.4847, allocations: 36.11 kB / 0.68 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.4847, allocations: 25.56 kB / 0.68 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4849, allocations: 316.3 kB / 0.6803 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.642e-05/0.4849, allocations: 19.88 kB / 0.6803 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.692e-05/0.485, allocations: 26.55 kB / 0.6803 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.4851, allocations: 63.17 kB / 0.6804 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.4851, allocations: 1.281 kB / 0.6804 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001591/0.4853, allocations: 102.8 kB / 0.6805 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.4853, allocations: 5.125 kB / 0.6805 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4853, allocations: 0 / 0.6805 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.4853, allocations: 1.125 kB / 0.6805 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.4854, allocations: 22.14 kB / 0.6805 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4855, allocations: 3.938 kB / 0.6805 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.4855, allocations: 1 kB / 0.6805 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.4855, allocations: 7.031 kB / 0.6805 GB, free: 13.19 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 9.606e-05/0.4856, allocations: 116.7 kB / 0.6806 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.4856, allocations: 14.69 kB / 0.6807 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.4859, allocations: 95.3 kB / 0.6808 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4859, allocations: 5.078 kB / 0.6808 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4859, allocations: 1 kB / 0.6808 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4859, allocations: 7.875 kB / 0.6808 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.4864, allocations: 357.3 kB / 0.6811 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4864, allocations: 4 kB / 0.6811 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.4865, allocations: 21.25 kB / 0.6811 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4865, allocations: 1.5 kB / 0.6811 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4865, allocations: 5.328 kB / 0.6811 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4865, allocations: 3.938 kB / 0.6811 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4865, allocations: 1.188 kB / 0.6811 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.4868, allocations: 216.7 kB / 0.6813 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.4869, allocations: 79.3 kB / 0.6814 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.4869, allocations: 5.094 kB / 0.6814 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-05/0.487, allocations: 9.203 kB / 0.6814 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.487, allocations: 4.625 kB / 0.6814 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.487, allocations: 2.312 kB / 0.6814 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.592e-05/0.4871, allocations: 77.28 kB / 0.6815 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4871, allocations: 0 / 0.6815 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003138/0.4874, allocations: 40.27 kB / 0.6816 GB, free: 12.24 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.0002455/0.4877, allocations: 137.3 kB / 0.6817 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.4878, allocations: 62.59 kB / 0.6817 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4879, allocations: 5 kB / 0.6818 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.246e-05/0.4879, allocations: 36.73 kB / 0.6818 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.4881, allocations: 11.98 kB / 0.6818 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/0.4887, allocations: 298.9 kB / 0.6821 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.489, allocations: 0.6848 MB / 0.6828 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.884e-05/0.4891, allocations: 13.61 kB / 0.6828 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.4891, allocations: 13.12 kB / 0.6828 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.4891, allocations: 0 / 0.6828 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.003765/0.4929, allocations: 0.9818 MB / 0.6837 GB, free: 10.63 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)