Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.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.001675/0.001676, allocations: 109.2 kB / 15.99 MB, free: 6.355 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.001908/0.001908, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.409/1.409, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.677/2.677, allocations: 482.4 MB / 0.755 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.00217, allocations: 75.97 kB / 0.924 GB, free: 340 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7671/0.7693, allocations: 162.2 MB / 1.082 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002212/0.7715, allocations: 1.34 MB / 1.084 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008598/0.7724, allocations: 0.6101 MB / 1.084 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.7725, allocations: 0 / 1.084 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.7725, allocations: 1.641 kB / 1.084 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.829e-05/0.7725, allocations: 4.688 kB / 1.084 GB, free: 252 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.773, allocations: 127.3 kB / 1.084 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.406e-05/0.7731, allocations: 20.52 kB / 1.084 GB, free: 188 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.7731, allocations: 1.906 kB / 1.084 GB, free: 188 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.407e-05/0.7732, allocations: 10.25 kB / 1.084 GB, free: 184 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.402e-05/0.7732, allocations: 12.75 kB / 1.085 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.7732, allocations: 1.188 kB / 1.085 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004988/0.7737, allocations: 342.5 kB / 1.085 GB, free: 76 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.7737, allocations: 10.45 kB / 1.085 GB, free: 68 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.7738, allocations: 11.94 kB / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.774, allocations: 102.6 kB / 1.085 GB, free: 32 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.774, allocations: 0.9062 kB / 1.085 GB, free: 32 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.774, allocations: 0 / 1.085 GB, free: 32 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.774, allocations: 0 / 1.085 GB, free: 32 kB / 0.8262 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.0004854/0.7745, allocations: 354.4 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.7745, allocations: 9.109 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.7746, allocations: 7.5 kB / 1.085 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.7748, allocations: 166.8 kB / 1.085 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.7748, allocations: 5.625 kB / 1.085 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.7749, allocations: 5.531 kB / 1.085 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.775, allocations: 44.98 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.775, allocations: 192 / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.775, allocations: 4.734 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.775, allocations: 0.9375 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.7751, allocations: 8.406 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.7753, allocations: 158.4 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.7755, allocations: 48.42 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.7755, allocations: 22.14 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.7755, allocations: 3.984 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.7756, allocations: 35.94 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.7756, allocations: 1.125 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0006482/0.7762, allocations: 312.6 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.7763, allocations: 57.56 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.874e-05/0.7764, allocations: 98.28 kB / 1.086 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.7764, allocations: 30.92 kB / 1.086 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.7765, allocations: 81.52 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.7766, allocations: 23.03 kB / 1.086 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.7766, allocations: 20.28 kB / 1.086 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.7768, allocations: 314.5 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/0.7768, allocations: 11.8 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/0.7769, allocations: 11.67 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.841e-05/0.777, allocations: 37.44 kB / 1.087 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.777, allocations: 0 / 1.087 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001132/0.7771, allocations: 72.83 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.7772, allocations: 8.156 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.7772, allocations: 2.109 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.7772, allocations: 0 / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.071e-05/0.7772, allocations: 11.94 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.7773, allocations: 0.6094 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.7773, allocations: 0 / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.7773, allocations: 2.188 kB / 1.087 GB, free: 14.1 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.42e-05/0.7774, allocations: 121.5 kB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.7774, allocations: 5.719 kB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.7775, allocations: 68.91 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.7776, allocations: 1.062 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7776, allocations: 1.219 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.7776, allocations: 0.7031 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.7779, allocations: 320.9 kB / 1.087 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7779, allocations: 1.031 kB / 1.087 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.185e-05/0.778, allocations: 11.75 kB / 1.087 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.778, allocations: 4.469 kB / 1.087 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.778, allocations: 1.219 kB / 1.087 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.778, allocations: 1.734 kB / 1.087 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.778, allocations: 0.625 kB / 1.087 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.7783, allocations: 188.4 kB / 1.088 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.7783, allocations: 84.95 kB / 1.088 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.7784, allocations: 1.984 kB / 1.088 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.7784, allocations: 1.766 kB / 1.088 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.7785, allocations: 5.938 kB / 1.088 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.7785, allocations: 5.062 kB / 1.088 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.7785, allocations: 82.5 kB / 1.088 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7785, allocations: 1.531 kB / 1.088 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000246/0.7788, allocations: 18.92 kB / 1.088 GB, free: 13.23 MB / 0.8419 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 (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.0002002/0.779, allocations: 133.7 kB / 1.088 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.7791, allocations: 36.22 kB / 1.088 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.7791, allocations: 0.9062 kB / 1.088 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.194e-05/0.7792, allocations: 16.33 kB / 1.088 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.7794, allocations: 12.08 kB / 1.088 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.7799, allocations: 227.3 kB / 1.088 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.7802, allocations: 0.683 MB / 1.089 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.7803, allocations: 11.47 kB / 1.089 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.7803, allocations: 4 kB / 1.089 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of Templates: time 0.002527/0.7828, allocations: 0.7921 MB / 1.09 GB, free: 12.12 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)