Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.529/2.529, allocations: 287.5 MB / 302.4 MB, free: 8.363 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001542, allocations: 173.1 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205.4 MB / 0.6297 GB, free: 10.49 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001717/0.001717, allocations: 85.55 kB / 0.743 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006438/0.0006438, allocations: 16.64 kB / 0.8658 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2099, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8994/1.109, allocations: 138.5 MB / 1.114 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/1.11, allocations: 82.39 kB / 1.114 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01315/1.123, allocations: 2.825 MB / 1.116 GB, free: 31.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.216e-06/1.123, allocations: 3.906 kB / 1.116 GB, free: 31.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.123, allocations: 0 / 1.116 GB, free: 31.23 MB / 0.698 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.0004105/1.123, allocations: 355.2 kB / 1.117 GB, free: 30.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.123, allocations: 11.89 kB / 1.117 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/1.123, allocations: 4.531 kB / 1.117 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/1.124, allocations: 169.4 kB / 1.117 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/1.124, allocations: 3.938 kB / 1.117 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/1.124, allocations: 3.969 kB / 1.117 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/1.124, allocations: 40.27 kB / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/1.124, allocations: 0 / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/1.124, allocations: 0 / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.124, allocations: 6.281 kB / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.677e-05/1.124, allocations: 7.969 kB / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/1.124, allocations: 162.5 kB / 1.117 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/1.124, allocations: 44.39 kB / 1.117 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/1.124, allocations: 2.203 kB / 1.117 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/1.124, allocations: 30.56 kB / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/1.124, allocations: 0 / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0007293/1.125, allocations: 312.8 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/1.125, allocations: 51.41 kB / 1.118 GB, free: 30.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.073e-05/1.125, allocations: 95.14 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/1.125, allocations: 25.7 kB / 1.118 GB, free: 29.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/1.125, allocations: 80.14 kB / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/1.125, allocations: 25.91 kB / 1.118 GB, free: 29.81 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-06/1.125, allocations: 0 / 1.118 GB, free: 29.81 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.126, allocations: 326.5 kB / 1.118 GB, free: 29.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.44e-05/1.126, allocations: 10.09 kB / 1.118 GB, free: 29.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/1.126, allocations: 18.12 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.126e-05/1.126, allocations: 15.38 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/1.126, allocations: 0 / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001318/1.126, allocations: 59.34 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.126, allocations: 3.781 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.126, allocations: 0 / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.126, allocations: 0 / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.757e-05/1.126, allocations: 13.12 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/1.126, allocations: 11.88 kB / 1.118 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/1.126, allocations: 3.938 kB / 1.118 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/1.126, allocations: 2.25 kB / 1.118 GB, free: 29.44 MB / 0.698 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 8.585e-05/1.126, allocations: 113.6 kB / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/1.126, allocations: 3.906 kB / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/1.126, allocations: 74.97 kB / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/1.126, allocations: 0 / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/1.126, allocations: 0 / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.126, allocations: 0 / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/1.127, allocations: 322.4 kB / 1.119 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.127, allocations: 0 / 1.119 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/1.127, allocations: 10.62 kB / 1.119 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/1.127, allocations: 4.484 kB / 1.119 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/1.127, allocations: 4.125 kB / 1.119 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/1.127, allocations: 7.938 kB / 1.119 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.127, allocations: 3.938 kB / 1.119 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/1.127, allocations: 190.8 kB / 1.119 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/1.127, allocations: 87.78 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/1.127, allocations: 0 / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/1.127, allocations: 3.75 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/1.127, allocations: 11.08 kB / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/1.127, allocations: 3.953 kB / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.367e-05/1.127, allocations: 79.19 kB / 1.119 GB, free: 28.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.128, allocations: 4.062 kB / 1.119 GB, free: 28.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003351/1.128, allocations: 29.8 kB / 1.119 GB, free: 28.61 MB / 0.698 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.0002257/1.128, allocations: 131.9 kB / 1.119 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001282/1.128, allocations: 29.61 kB / 1.119 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.128, allocations: 0 / 1.119 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/1.128, allocations: 19.25 kB / 1.119 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/1.128, allocations: 6.922 kB / 1.119 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/1.129, allocations: 221.1 kB / 1.12 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/1.129, allocations: 0.6863 MB / 1.12 GB, free: 27.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.043e-05/1.129, allocations: 3.875 kB / 1.12 GB, free: 27.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/1.129, allocations: 11.22 kB / 1.12 GB, free: 27.62 MB / 0.698 GB Notification: Performance of SimCode: time 7.61e-07/1.129, allocations: 0 / 1.12 GB, free: 27.62 MB / 0.698 GB Notification: Performance of Templates: time 0.003398/1.133, allocations: 0.5904 MB / 1.121 GB, free: 27.57 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)