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.001141/0.00114, allocations: 103.8 kB / 16.37 MB, free: 6.379 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.001203/0.001203, allocations: 193.6 kB / 17.3 MB, free: 5.758 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.07 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.8828/0.8828, allocations: 143 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 64.14 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4305, allocations: 82.02 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.003236/0.4337, allocations: 1.266 MB / 0.5969 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.4351, allocations: 0.6145 MB / 0.5975 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.4352, allocations: 0 / 0.5975 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.4352, allocations: 5.594 kB / 0.5975 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.294e-05/0.4353, allocations: 3.938 kB / 0.5975 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007615/0.4361, allocations: 157.3 kB / 0.5977 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.427e-05/0.4362, allocations: 15.94 kB / 0.5977 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.19e-05/0.4363, allocations: 3.984 kB / 0.5977 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.4363, allocations: 8 kB / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.4364, allocations: 11.92 kB / 0.5977 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.4364, allocations: 5.344 kB / 0.5977 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007096/0.4372, allocations: 339.3 kB / 0.5981 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.4372, allocations: 3.984 kB / 0.5981 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.4372, allocations: 12.83 kB / 0.5981 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.4376, allocations: 147.5 kB / 0.5982 GB, free: 13.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4376, allocations: 0 / 0.5982 GB, free: 13.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4376, allocations: 1.406 kB / 0.5982 GB, free: 13.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4376, allocations: 0 / 0.5982 GB, free: 13.57 MB / 446.1 MB 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.0003793/0.438, allocations: 362.1 kB / 0.5986 GB, free: 13.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4381, allocations: 8.031 kB / 0.5986 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.4382, allocations: 4.938 kB / 0.5986 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.525e-05/0.4383, allocations: 173.6 kB / 0.5987 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.4383, allocations: 384 / 0.5987 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.4383, allocations: 4.375 kB / 0.5987 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.4385, allocations: 43.69 kB / 0.5988 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4385, allocations: 192 / 0.5988 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.4385, allocations: 3.938 kB / 0.5988 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4385, allocations: 4 kB / 0.5988 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.732e-05/0.4386, allocations: 8.578 kB / 0.5988 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.4388, allocations: 159.2 kB / 0.599 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.4391, allocations: 43.94 kB / 0.599 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.4391, allocations: 16.86 kB / 0.599 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.4392, allocations: 3.938 kB / 0.599 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.4392, allocations: 36.72 kB / 0.5991 GB, free: 12.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.4392, allocations: 0 / 0.5991 GB, free: 12.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007685/0.44, allocations: 314.1 kB / 0.5994 GB, free: 12.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.44, allocations: 56.91 kB / 0.5994 GB, free: 12.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.546e-05/0.4401, allocations: 101.8 kB / 0.5995 GB, free: 12.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.4401, allocations: 25.7 kB / 0.5995 GB, free: 11.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.709e-05/0.4402, allocations: 80.89 kB / 0.5996 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.4402, allocations: 25.23 kB / 0.5996 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.4403, allocations: 17.72 kB / 0.5996 GB, free: 11.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.528e-05/0.4403, allocations: 310.8 kB / 0.5999 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.181e-05/0.4404, allocations: 16.67 kB / 0.6 GB, free: 11.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.808e-05/0.4404, allocations: 12 kB / 0.6 GB, free: 11.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.728e-05/0.4405, allocations: 34.75 kB / 0.6 GB, free: 11.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4406, allocations: 0 / 0.6 GB, free: 11.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000146/0.4407, allocations: 69.59 kB / 0.6001 GB, free: 11.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4407, allocations: 11.94 kB / 0.6001 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4408, allocations: 2.094 kB / 0.6001 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4408, allocations: 0.5156 kB / 0.6001 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.4409, allocations: 11.98 kB / 0.6001 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4409, allocations: 0 / 0.6001 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.403e-05/0.441, allocations: 4 kB / 0.6001 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.441, allocations: 1.406 kB / 0.6001 GB, free: 11.39 MB / 446.1 MB 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 5.998e-05/0.441, allocations: 113.8 kB / 0.6002 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.4411, allocations: 11.94 kB / 0.6002 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.4413, allocations: 70.98 kB / 0.6003 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4413, allocations: 3.984 kB / 0.6003 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4413, allocations: 4 kB / 0.6003 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4413, allocations: 1.531 kB / 0.6003 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.4417, allocations: 323.3 kB / 0.6006 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4417, allocations: 1.344 kB / 0.6006 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.998e-05/0.4418, allocations: 11.98 kB / 0.6006 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.4418, allocations: 4 kB / 0.6006 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.4419, allocations: 0.8438 kB / 0.6006 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4419, allocations: 0 / 0.6006 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4419, allocations: 0 / 0.6006 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.4421, allocations: 190.7 kB / 0.6008 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.4422, allocations: 77.11 kB / 0.6009 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.4422, allocations: 4.031 kB / 0.6009 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.4424, allocations: 5.438 kB / 0.6009 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.4424, allocations: 7.984 kB / 0.6009 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.4424, allocations: 3.938 kB / 0.6009 GB, free: 10.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.687e-05/0.4425, allocations: 80.56 kB / 0.601 GB, free: 10.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4425, allocations: 0 / 0.601 GB, free: 10.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004445/0.4429, allocations: 24 kB / 0.601 GB, free: 10.36 MB / 446.1 MB 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.0002048/0.4431, allocations: 124.4 kB / 0.6011 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.4433, allocations: 33 kB / 0.6011 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4433, allocations: 0 / 0.6011 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.951e-05/0.4434, allocations: 24.95 kB / 0.6012 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.4438, allocations: 9.812 kB / 0.6012 GB, free: 10.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005194/0.4443, allocations: 190.1 kB / 0.6014 GB, free: 9.984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.4445, allocations: 0.682 MB / 0.602 GB, free: 9.277 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.246e-05/0.4445, allocations: 5.719 kB / 0.602 GB, free: 9.273 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.4445, allocations: 11.44 kB / 0.602 GB, free: 9.262 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4446, allocations: 0 / 0.602 GB, free: 9.262 MB / 446.1 MB Notification: Performance of Templates: time 0.004514/0.4491, allocations: 0.6521 MB / 0.6027 GB, free: 8.688 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)