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/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7354/0.7354, allocations: 117.9 MB / 133.9 MB, free: 4.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001316, allocations: 182.5 kB / 161.7 MB, free: 2.754 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 394.8 MB, free: 20.97 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007958/0.0007958, allocations: 101.7 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003485, allocations: 16 kB / 0.5423 GB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2886, allocations: 74.54 MB / 0.6151 GB, free: 54.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.4065, allocations: 102.2 MB / 0.7149 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.4067, allocations: 79.95 kB / 0.715 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.008714/0.4155, allocations: 3.029 MB / 0.718 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4155, allocations: 0 / 0.718 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.4155, allocations: 0 / 0.718 GB, free: 12.64 MB / 0.4948 GB 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.0003259/0.4159, allocations: 351.4 kB / 0.7183 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4159, allocations: 12.03 kB / 0.7183 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.4159, allocations: 4.938 kB / 0.7183 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.4161, allocations: 172.2 kB / 0.7185 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.4161, allocations: 4.375 kB / 0.7185 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.4161, allocations: 384 / 0.7185 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.4165, allocations: 66.22 kB / 0.7186 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4165, allocations: 192 / 0.7186 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.4165, allocations: 3.938 kB / 0.7186 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4165, allocations: 8 kB / 0.7186 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.4168, allocations: 39.95 kB / 0.7186 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.417, allocations: 157.7 kB / 0.7188 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.4173, allocations: 74.61 kB / 0.7188 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.4174, allocations: 20.84 kB / 0.7189 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.4176, allocations: 93.09 kB / 0.7189 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.4176, allocations: 34.56 kB / 0.719 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.4176, allocations: 0 / 0.719 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.001677/0.4193, allocations: 489.9 kB / 0.7194 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.4194, allocations: 51.41 kB / 0.7195 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.4194, allocations: 101.8 kB / 0.7196 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.4195, allocations: 33.64 kB / 0.7196 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.4195, allocations: 83.89 kB / 0.7197 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.4195, allocations: 23.73 kB / 0.7197 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.4195, allocations: 0 / 0.7197 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.4196, allocations: 310.8 kB / 0.72 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.4198, allocations: 31.98 kB / 0.7201 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.045e-05/0.4199, allocations: 35.91 kB / 0.7201 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.42, allocations: 56.84 kB / 0.7201 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4201, allocations: 0 / 0.7201 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000246/0.4203, allocations: 106.1 kB / 0.7202 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.4203, allocations: 15.88 kB / 0.7203 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.4203, allocations: 0 / 0.7203 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4204, allocations: 3.984 kB / 0.7203 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.4205, allocations: 19.98 kB / 0.7203 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4205, allocations: 3.938 kB / 0.7203 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.829e-05/0.4206, allocations: 8 kB / 0.7203 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.4206, allocations: 7.984 kB / 0.7203 GB, free: 9.984 MB / 0.4948 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.956e-05/0.4207, allocations: 118 kB / 0.7204 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.4207, allocations: 3.938 kB / 0.7204 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.4208, allocations: 11.95 kB / 0.7204 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.4208, allocations: 4 kB / 0.7204 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4208, allocations: 0 / 0.7204 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4208, allocations: 0 / 0.7204 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005785/0.4214, allocations: 367.4 kB / 0.7208 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.4214, allocations: 4 kB / 0.7208 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.4216, allocations: 19.98 kB / 0.7208 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.4216, allocations: 4 kB / 0.7208 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.4216, allocations: 7.984 kB / 0.7208 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4216, allocations: 4.031 kB / 0.7208 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4216, allocations: 0 / 0.7208 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.422, allocations: 236.1 kB / 0.721 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.4221, allocations: 89.12 kB / 0.7211 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.4221, allocations: 0 / 0.7211 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.4223, allocations: 11.98 kB / 0.7211 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.4223, allocations: 0 / 0.7211 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.4223, allocations: 7.984 kB / 0.7212 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.902e-05/0.4224, allocations: 83.28 kB / 0.7212 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4224, allocations: 4.062 kB / 0.7212 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002439/0.4226, allocations: 8 kB / 0.7212 GB, free: 8.914 MB / 0.4948 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001562/0.4228, allocations: 107.2 kB / 0.7213 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.4231, allocations: 71.83 kB / 0.7214 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4231, allocations: 4 kB / 0.7214 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.4232, allocations: 39.91 kB / 0.7215 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.4234, allocations: 11.94 kB / 0.7215 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.4241, allocations: 273.8 kB / 0.7217 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.4243, allocations: 0.6779 MB / 0.7224 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.255e-05/0.4244, allocations: 8 kB / 0.7224 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.4245, allocations: 15.42 kB / 0.7224 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/0.4245, allocations: 0 / 0.7224 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of Templates: time 0.00267/0.4272, allocations: 0.6509 MB / 0.723 GB, free: 7.031 MB / 0.4948 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)