Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 101.8 kB / 16.35 MB, free: 5.875 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.001221/0.001221, allocations: 198.3 kB / 17.3 MB, free: 5.516 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 14.99 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.9505/0.9505, allocations: 143.1 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 59.89 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3459, allocations: 82.03 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002308/0.3483, allocations: 1.459 MB / 0.5971 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008569/0.3491, allocations: 0.6341 MB / 0.5977 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.3492, allocations: 4 kB / 0.5977 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.3492, allocations: 5.438 kB / 0.5978 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.906e-05/0.3493, allocations: 3.938 kB / 0.5978 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.3498, allocations: 164.7 kB / 0.5979 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.851e-05/0.3498, allocations: 51.61 kB / 0.598 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.3499, allocations: 12.66 kB / 0.598 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.319e-05/0.3499, allocations: 21.44 kB / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.789e-05/0.35, allocations: 27.91 kB / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.35, allocations: 4 kB / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/0.3504, allocations: 343.4 kB / 0.5984 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.3504, allocations: 12.94 kB / 0.5984 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.3504, allocations: 31.84 kB / 0.5984 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.3507, allocations: 173.3 kB / 0.5986 GB, free: 13.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3507, allocations: 1.062 kB / 0.5986 GB, free: 13.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3507, allocations: 0 / 0.5986 GB, free: 13.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.3507, allocations: 0 / 0.5986 GB, free: 13.22 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004488/0.3512, allocations: 408.7 kB / 0.5989 GB, free: 12.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.3512, allocations: 8.031 kB / 0.599 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.3512, allocations: 9.562 kB / 0.599 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.195e-05/0.3513, allocations: 173.8 kB / 0.5991 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3513, allocations: 384 / 0.5991 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.3514, allocations: 8.375 kB / 0.5991 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.3516, allocations: 79.03 kB / 0.5992 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3516, allocations: 192 / 0.5992 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.3516, allocations: 10.44 kB / 0.5992 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3516, allocations: 3.984 kB / 0.5992 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.3518, allocations: 47.91 kB / 0.5993 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.3523, allocations: 330.1 kB / 0.5996 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.3526, allocations: 79.61 kB / 0.5997 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.647e-05/0.3527, allocations: 34.17 kB / 0.5997 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.3527, allocations: 8.141 kB / 0.5997 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.3527, allocations: 32.09 kB / 0.5997 GB, free: 11.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.3527, allocations: 0 / 0.5997 GB, free: 11.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001317/0.354, allocations: 0.6428 MB / 0.6004 GB, free: 11.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.3541, allocations: 51.41 kB / 0.6004 GB, free: 11.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.175e-05/0.3541, allocations: 105.8 kB / 0.6005 GB, free: 10.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.3541, allocations: 30.52 kB / 0.6005 GB, free: 10.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.3542, allocations: 93.36 kB / 0.6006 GB, free: 10.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.3542, allocations: 39.44 kB / 0.6007 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.3542, allocations: 29.7 kB / 0.6007 GB, free: 10.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.3543, allocations: 320.1 kB / 0.601 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.3544, allocations: 31.97 kB / 0.601 GB, free: 10.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3545, allocations: 38.73 kB / 0.6011 GB, free: 10.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.3547, allocations: 76.58 kB / 0.6011 GB, free: 10.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3547, allocations: 0 / 0.6011 GB, free: 10.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002574/0.355, allocations: 123.1 kB / 0.6013 GB, free: 10.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.355, allocations: 5.719 kB / 0.6013 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.355, allocations: 4 kB / 0.6013 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.355, allocations: 0 / 0.6013 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.3552, allocations: 32.84 kB / 0.6013 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3552, allocations: 0.7812 kB / 0.6013 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.3553, allocations: 13.16 kB / 0.6013 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3553, allocations: 4 kB / 0.6013 GB, free: 10.11 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 (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 5.333e-05/0.3553, allocations: 115.2 kB / 0.6014 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.3554, allocations: 4.094 kB / 0.6014 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.3557, allocations: 139.7 kB / 0.6016 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3557, allocations: 0 / 0.6016 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3557, allocations: 0 / 0.6016 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3557, allocations: 5.281 kB / 0.6016 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.3561, allocations: 378.5 kB / 0.6019 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3561, allocations: 1.531 kB / 0.6019 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.3563, allocations: 31.92 kB / 0.602 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3563, allocations: 0 / 0.602 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3563, allocations: 9.281 kB / 0.602 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3563, allocations: 0 / 0.602 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3563, allocations: 0 / 0.602 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.3567, allocations: 251.5 kB / 0.6022 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.3568, allocations: 85.12 kB / 0.6023 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.3568, allocations: 4.969 kB / 0.6023 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.3569, allocations: 4 kB / 0.6023 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.3569, allocations: 13.33 kB / 0.6023 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.3569, allocations: 4 kB / 0.6023 GB, free: 8.992 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.865e-05/0.357, allocations: 75.28 kB / 0.6024 GB, free: 8.918 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.357, allocations: 1.219 kB / 0.6024 GB, free: 8.918 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.3572, allocations: 43.92 kB / 0.6024 GB, free: 8.875 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0001697/0.3574, allocations: 139.8 kB / 0.6026 GB, free: 8.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.3577, allocations: 81 kB / 0.6026 GB, free: 8.652 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3577, allocations: 8.969 kB / 0.6027 GB, free: 8.645 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.3578, allocations: 45.2 kB / 0.6027 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.3581, allocations: 11.98 kB / 0.6027 GB, free: 8.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005431/0.3587, allocations: 308.9 kB / 0.603 GB, free: 8.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.509e-05/0.3588, allocations: 0.6931 MB / 0.6037 GB, free: 7.602 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.008e-05/0.3588, allocations: 16.33 kB / 0.6037 GB, free: 7.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.3588, allocations: 15.44 kB / 0.6037 GB, free: 7.574 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3589, allocations: 0 / 0.6037 GB, free: 7.574 MB / 446.1 MB Notification: Performance of Templates: time 0.003097/0.362, allocations: 1.154 MB / 0.6048 GB, free: 6.469 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)