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_dp_DerivativeCheck2.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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.469/2.469, allocations: 284.8 MB / 297.3 MB, free: 6.367 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.001472/0.001471, allocations: 180.8 kB / 365.7 MB, free: 2.582 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 1.922/1.922, allocations: 205.2 MB / 0.6241 GB, free: 8.172 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001906/0.001906, allocations: 101.7 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.617e-05/3.627e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8169/0.8169, allocations: 115.2 MB / 0.97 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2393/1.056, allocations: 138.7 MB / 1.105 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/1.057, allocations: 87.59 kB / 1.105 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02291/1.08, allocations: 4.496 MB / 1.11 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.493e-06/1.08, allocations: 0 / 1.11 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.955e-06/1.08, allocations: 1.5 kB / 1.11 GB, free: 9.246 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004358/1.08, allocations: 351.2 kB / 1.11 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.08, allocations: 8.031 kB / 1.11 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/1.08, allocations: 4.719 kB / 1.11 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/1.08, allocations: 171 kB / 1.11 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/1.08, allocations: 8.469 kB / 1.11 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/1.08, allocations: 5.156 kB / 1.11 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/1.081, allocations: 55.16 kB / 1.11 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/1.081, allocations: 0 / 1.11 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/1.081, allocations: 0.875 kB / 1.11 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/1.081, allocations: 0 / 1.11 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.379e-05/1.081, allocations: 27.05 kB / 1.11 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/1.081, allocations: 165.6 kB / 1.111 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/1.081, allocations: 58.88 kB / 1.111 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.056e-05/1.081, allocations: 24.86 kB / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/1.081, allocations: 3.938 kB / 1.111 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/1.081, allocations: 39 kB / 1.111 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/1.081, allocations: 0 / 1.111 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001401/1.083, allocations: 0.5542 MB / 1.111 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/1.083, allocations: 51.41 kB / 1.111 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/1.083, allocations: 100.5 kB / 1.111 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/1.083, allocations: 25.7 kB / 1.111 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/1.083, allocations: 80.14 kB / 1.112 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/1.083, allocations: 49.19 kB / 1.112 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/1.083, allocations: 3.938 kB / 1.112 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.083, allocations: 322.8 kB / 1.112 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.431e-05/1.083, allocations: 18.81 kB / 1.112 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.484e-05/1.083, allocations: 26.5 kB / 1.112 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.629e-05/1.084, allocations: 19.98 kB / 1.112 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/1.084, allocations: 0 / 1.112 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002376/1.084, allocations: 93.62 kB / 1.112 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.084, allocations: 4 kB / 1.112 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.084, allocations: 0 / 1.112 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.084, allocations: 4.125 kB / 1.112 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/1.084, allocations: 25.61 kB / 1.112 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/1.084, allocations: 0 / 1.112 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/1.084, allocations: 4 kB / 1.112 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/1.084, allocations: 4 kB / 1.112 GB, free: 6.711 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 9.501e-05/1.084, allocations: 116.9 kB / 1.112 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/1.084, allocations: 3.906 kB / 1.112 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/1.085, allocations: 106.7 kB / 1.112 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.085, allocations: 0 / 1.112 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.085, allocations: 7.938 kB / 1.112 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.085, allocations: 4 kB / 1.112 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/1.085, allocations: 346.5 kB / 1.113 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/1.085, allocations: 4 kB / 1.113 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/1.085, allocations: 19.98 kB / 1.113 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/1.085, allocations: 0 / 1.113 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/1.085, allocations: 7.375 kB / 1.113 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/1.085, allocations: 4 kB / 1.113 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.085, allocations: 0 / 1.113 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/1.086, allocations: 228.6 kB / 1.113 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/1.086, allocations: 77.11 kB / 1.113 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/1.086, allocations: 0 / 1.113 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/1.086, allocations: 8.031 kB / 1.113 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/1.086, allocations: 7.984 kB / 1.113 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/1.086, allocations: 4 kB / 1.113 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.922e-05/1.086, allocations: 81.12 kB / 1.113 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-07/1.086, allocations: 0 / 1.113 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003857/1.087, allocations: 47.92 kB / 1.113 GB, free: 5.559 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0003066/1.087, allocations: 143.1 kB / 1.113 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002002/1.087, allocations: 61.3 kB / 1.113 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.087, allocations: 0 / 1.113 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.088e-05/1.087, allocations: 37.03 kB / 1.113 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/1.087, allocations: 4.812 kB / 1.113 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/1.088, allocations: 229.2 kB / 1.114 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/1.088, allocations: 0.6887 MB / 1.114 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.088e-05/1.089, allocations: 13.41 kB / 1.114 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/1.089, allocations: 15.44 kB / 1.114 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/1.089, allocations: 0 / 1.114 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of Templates: time 0.02798/1.117, allocations: 0.8624 MB / 1.115 GB, free: 3.516 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)