Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.588/1.588, allocations: 289.9 MB / 297.4 MB, free: 6.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009371/0.0009371, allocations: 184.8 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.3 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007785/0.0007785, allocations: 87.92 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.521e-05/1.513e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5649/0.565, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1715/0.7366, allocations: 139.8 MB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.7368, allocations: 83.92 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01282/0.7497, allocations: 4.245 MB / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7497, allocations: 1.281 kB / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.7497, allocations: 0 / 1.114 GB, free: 6.125 MB / 0.7136 GB 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.0004532/0.7502, allocations: 373.5 kB / 1.114 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.7503, allocations: 12.03 kB / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.7503, allocations: 4 kB / 1.114 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.7504, allocations: 163 kB / 1.115 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.7505, allocations: 8 kB / 1.115 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.7505, allocations: 7.906 kB / 1.115 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.914e-05/0.7506, allocations: 31.92 kB / 1.115 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.7507, allocations: 63.8 kB / 1.115 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.7508, allocations: 2.781 kB / 1.115 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.7508, allocations: 1.969 kB / 1.115 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.7508, allocations: 0 / 1.115 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.7514, allocations: 312.1 kB / 1.115 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.7515, allocations: 50.58 kB / 1.115 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.167e-05/0.7515, allocations: 16.86 kB / 1.115 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.7516, allocations: 7.984 kB / 1.115 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.7516, allocations: 38.34 kB / 1.115 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.7516, allocations: 0 / 1.115 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0008536/0.7524, allocations: 0.5167 MB / 1.116 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.7525, allocations: 59.41 kB / 1.116 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.967e-05/0.7526, allocations: 97.12 kB / 1.116 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.7526, allocations: 25.7 kB / 1.116 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.7527, allocations: 88.08 kB / 1.116 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.7527, allocations: 39.45 kB / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.7527, allocations: 0 / 1.116 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.7528, allocations: 314.8 kB / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.7529, allocations: 20 kB / 1.116 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.319e-05/0.7529, allocations: 21.59 kB / 1.116 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.753, allocations: 26.23 kB / 1.116 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.753, allocations: 0 / 1.116 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001392/0.7531, allocations: 97.66 kB / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.7531, allocations: 4 kB / 1.116 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.7531, allocations: 4 kB / 1.116 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.7532, allocations: 4.031 kB / 1.116 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.7533, allocations: 30.41 kB / 1.116 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.7533, allocations: 7.953 kB / 1.116 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.979e-05/0.7534, allocations: 8 kB / 1.116 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.7534, allocations: 4 kB / 1.116 GB, free: 3.441 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.7535, allocations: 104.9 kB / 1.116 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.7536, allocations: 7.906 kB / 1.116 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.7537, allocations: 101.3 kB / 1.117 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7538, allocations: 0 / 1.117 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7538, allocations: 0 / 1.117 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.7538, allocations: 7.938 kB / 1.117 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.7541, allocations: 329.3 kB / 1.117 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.7541, allocations: 0 / 1.117 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.7543, allocations: 31.98 kB / 1.117 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7543, allocations: 0 / 1.117 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.7543, allocations: 3.984 kB / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7543, allocations: 0 / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.7543, allocations: 3.953 kB / 1.117 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.7546, allocations: 215.4 kB / 1.117 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.7546, allocations: 81.02 kB / 1.117 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.7546, allocations: 4.031 kB / 1.117 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.7548, allocations: 10.17 kB / 1.117 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.7548, allocations: 15.89 kB / 1.117 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.7548, allocations: 4 kB / 1.117 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.071e-05/0.7549, allocations: 79.27 kB / 1.117 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7549, allocations: 0 / 1.117 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003202/0.7552, allocations: 44 kB / 1.117 GB, free: 2.328 MB / 0.7136 GB 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 () * 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 (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.0002299/0.7554, allocations: 143.1 kB / 1.117 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.7556, allocations: 59.88 kB / 1.118 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7556, allocations: 0 / 1.118 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.694e-05/0.7556, allocations: 35.98 kB / 1.118 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.7558, allocations: 1.312 kB / 1.118 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.7563, allocations: 242.4 kB / 1.118 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.7565, allocations: 0.6924 MB / 1.118 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.209e-05/0.7566, allocations: 14.25 kB / 1.119 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.7566, allocations: 15.44 kB / 1.119 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7566, allocations: 0 / 1.119 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.00323/0.7599, allocations: 1.005 MB / 1.119 GB, free: 132 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)