Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 104 kB / 16.35 MB, free: 5.824 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.001614/0.001614, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.15 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.8376/0.8376, allocations: 143.1 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.00119, allocations: 59.91 kB / 0.5156 GB, free: 14.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3331, allocations: 82.04 MB / 0.5957 GB, free: 16.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001869/0.335, allocations: 1.271 MB / 0.5969 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007214/0.3358, allocations: 0.6146 MB / 0.5975 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.3358, allocations: 5.438 kB / 0.5975 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.3359, allocations: 0 / 0.5975 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.234e-05/0.3359, allocations: 7.922 kB / 0.5976 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.3363, allocations: 144.4 kB / 0.5977 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.921e-05/0.3364, allocations: 19.92 kB / 0.5977 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.41e-05/0.3364, allocations: 4.438 kB / 0.5977 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.932e-05/0.3364, allocations: 9.141 kB / 0.5977 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.461e-05/0.3365, allocations: 15.92 kB / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.3365, allocations: 4 kB / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.3369, allocations: 340.5 kB / 0.5981 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.3369, allocations: 3.984 kB / 0.5981 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.3369, allocations: 7.938 kB / 0.5981 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.3371, allocations: 153.9 kB / 0.5982 GB, free: 13.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3371, allocations: 0 / 0.5982 GB, free: 13.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3371, allocations: 0 / 0.5982 GB, free: 13.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.3371, allocations: 0 / 0.5982 GB, free: 13.69 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.0003148/0.3375, allocations: 360.2 kB / 0.5986 GB, free: 13.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.3375, allocations: 8.031 kB / 0.5986 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.3375, allocations: 10.34 kB / 0.5986 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.254e-05/0.3376, allocations: 168.3 kB / 0.5987 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.3376, allocations: 384 / 0.5987 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.3377, allocations: 4.375 kB / 0.5987 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.969e-05/0.3377, allocations: 42.86 kB / 0.5988 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.3378, allocations: 0.75 kB / 0.5988 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.3378, allocations: 7.938 kB / 0.5988 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3378, allocations: 4.969 kB / 0.5988 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.168e-05/0.3378, allocations: 8 kB / 0.5988 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.3379, allocations: 158.5 kB / 0.599 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.3381, allocations: 40.8 kB / 0.599 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.3381, allocations: 20.94 kB / 0.599 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.3381, allocations: 0 / 0.599 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.3382, allocations: 36.5 kB / 0.5991 GB, free: 12.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3382, allocations: 3.938 kB / 0.5991 GB, free: 12.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004614/0.3386, allocations: 314.1 kB / 0.5994 GB, free: 12.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.607e-05/0.3387, allocations: 56.06 kB / 0.5994 GB, free: 12.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.942e-05/0.3387, allocations: 104.6 kB / 0.5995 GB, free: 12.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.3387, allocations: 25.7 kB / 0.5995 GB, free: 12.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.186e-05/0.3387, allocations: 80.14 kB / 0.5996 GB, free: 12.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.3388, allocations: 19.75 kB / 0.5996 GB, free: 12.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.3388, allocations: 21.7 kB / 0.5997 GB, free: 11.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.417e-05/0.3388, allocations: 311.6 kB / 0.6 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.3388, allocations: 12 kB / 0.6 GB, free: 11.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.3389, allocations: 17.52 kB / 0.6 GB, free: 11.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.386e-05/0.3389, allocations: 29 kB / 0.6 GB, free: 11.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3389, allocations: 4 kB / 0.6 GB, free: 11.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.657e-05/0.339, allocations: 74.92 kB / 0.6001 GB, free: 11.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.339, allocations: 11.94 kB / 0.6001 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.339, allocations: 0 / 0.6001 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.339, allocations: 0 / 0.6001 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.604e-05/0.3391, allocations: 8.656 kB / 0.6001 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3391, allocations: 0 / 0.6001 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.3391, allocations: 5.5 kB / 0.6001 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.3391, allocations: 3.984 kB / 0.6001 GB, free: 11.5 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 4.069e-05/0.3392, allocations: 115.3 kB / 0.6002 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.3392, allocations: 3.938 kB / 0.6002 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.3393, allocations: 73.66 kB / 0.6003 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3393, allocations: 4.516 kB / 0.6003 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3393, allocations: 0.75 kB / 0.6003 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3393, allocations: 3.984 kB / 0.6003 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.3395, allocations: 312.8 kB / 0.6006 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3396, allocations: 0 / 0.6006 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.598e-05/0.3396, allocations: 21.09 kB / 0.6006 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3396, allocations: 0 / 0.6006 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.3396, allocations: 0 / 0.6006 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3396, allocations: 0.9062 kB / 0.6006 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3397, allocations: 7.969 kB / 0.6006 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.3398, allocations: 185.6 kB / 0.6008 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.3398, allocations: 81.97 kB / 0.6009 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.3398, allocations: 4.031 kB / 0.6009 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.3399, allocations: 1.375 kB / 0.6009 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.3399, allocations: 11.94 kB / 0.6009 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.3399, allocations: 0 / 0.6009 GB, free: 10.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.835e-05/0.34, allocations: 84.77 kB / 0.601 GB, free: 10.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.34, allocations: 0 / 0.601 GB, free: 10.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.3402, allocations: 20 kB / 0.601 GB, free: 10.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001262/0.3403, allocations: 126.5 kB / 0.6011 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.834e-05/0.3404, allocations: 35.92 kB / 0.6012 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3404, allocations: 2.844 kB / 0.6012 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.22e-05/0.3405, allocations: 16 kB / 0.6012 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.3407, allocations: 7.938 kB / 0.6012 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.341, allocations: 191 kB / 0.6014 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.158e-05/0.3411, allocations: 0.6823 MB / 0.602 GB, free: 9.398 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.612e-05/0.3411, allocations: 7.984 kB / 0.602 GB, free: 9.391 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.3412, allocations: 11.44 kB / 0.602 GB, free: 9.379 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3412, allocations: 0.5938 kB / 0.602 GB, free: 9.379 MB / 446.1 MB Notification: Performance of Templates: time 0.002423/0.3436, allocations: 0.6659 MB / 0.6027 GB, free: 8.789 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)