Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.695/1.695, allocations: 297.8 MB / 313.7 MB, free: 104 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001327, allocations: 172.6 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.2 MB / 0.6626 GB, free: 4.266 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008799/0.0008803, allocations: 102.5 kB / 0.7808 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.0004992, allocations: 12 kB / 0.9088 GB, free: 2.82 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7275/0.728, allocations: 120.3 MB / 1.026 GB, free: 55.93 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1834/0.9114, allocations: 142.2 MB / 1.165 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.9117, allocations: 77.73 kB / 1.165 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01327/0.925, allocations: 4.563 MB / 1.17 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.985e-06/0.925, allocations: 5.375 kB / 1.17 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.925, allocations: 0 / 1.17 GB, free: 14.11 MB / 0.7448 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.0004642/0.9255, allocations: 342.7 kB / 1.17 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.9256, allocations: 12.03 kB / 1.17 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.9256, allocations: 3.516 kB / 1.17 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.9258, allocations: 173.5 kB / 1.17 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.9258, allocations: 384 / 1.17 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.9258, allocations: 12.55 kB / 1.17 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.926, allocations: 48.11 kB / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.926, allocations: 5.312 kB / 1.17 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.926, allocations: 8.594 kB / 1.17 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.926, allocations: 0 / 1.17 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.984e-05/0.9261, allocations: 23.36 kB / 1.17 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.9263, allocations: 165.4 kB / 1.17 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.9264, allocations: 57.08 kB / 1.17 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.668e-05/0.9265, allocations: 23.92 kB / 1.17 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.9265, allocations: 6.172 kB / 1.171 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.9265, allocations: 39.11 kB / 1.171 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.9266, allocations: 0 / 1.171 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.001216/0.9278, allocations: 0.5939 MB / 1.171 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.9278, allocations: 53.84 kB / 1.171 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.695e-05/0.9279, allocations: 96.7 kB / 1.171 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.9279, allocations: 29.7 kB / 1.171 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.928, allocations: 81.38 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.928, allocations: 42.78 kB / 1.171 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-06/0.9281, allocations: 9.125 kB / 1.171 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.9282, allocations: 312.4 kB / 1.172 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.384e-05/0.9282, allocations: 23.95 kB / 1.172 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.24e-05/0.9283, allocations: 23.56 kB / 1.172 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.49e-05/0.9284, allocations: 56.27 kB / 1.172 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.9284, allocations: 2.156 kB / 1.172 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001574/0.9286, allocations: 98.95 kB / 1.172 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.9286, allocations: 4.609 kB / 1.172 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.9286, allocations: 4 kB / 1.172 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.9286, allocations: 0 / 1.172 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.9287, allocations: 21.64 kB / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.9288, allocations: 0 / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.9288, allocations: 4 kB / 1.172 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.9288, allocations: 0.75 kB / 1.172 GB, free: 11.58 MB / 0.7448 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 (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.488e-05/0.9289, allocations: 115.2 kB / 1.172 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.9289, allocations: 20.75 kB / 1.172 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.9291, allocations: 105.7 kB / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.9291, allocations: 0 / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9292, allocations: 0 / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.9292, allocations: 6.766 kB / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.9296, allocations: 352.1 kB / 1.173 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9296, allocations: 0 / 1.173 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.9297, allocations: 19.22 kB / 1.173 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.9297, allocations: 4.656 kB / 1.173 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.9298, allocations: 4.5 kB / 1.173 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.9298, allocations: 1.781 kB / 1.173 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.9298, allocations: 0 / 1.173 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.9301, allocations: 227.8 kB / 1.173 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.9301, allocations: 77.86 kB / 1.173 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.9301, allocations: 0.6094 kB / 1.173 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/0.9302, allocations: 6.859 kB / 1.173 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.9303, allocations: 13.28 kB / 1.173 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.9303, allocations: 0.5156 kB / 1.173 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.718e-05/0.9303, allocations: 79.8 kB / 1.173 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9303, allocations: 0 / 1.173 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000315/0.9306, allocations: 45.95 kB / 1.173 GB, free: 10.49 MB / 0.7448 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 () * Number of clocked 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.0002822/0.9309, allocations: 148.1 kB / 1.173 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.9311, allocations: 62.11 kB / 1.173 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9311, allocations: 4 kB / 1.173 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.933e-05/0.9312, allocations: 36.27 kB / 1.173 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.9314, allocations: 4.797 kB / 1.173 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006101/0.932, allocations: 337.2 kB / 1.174 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.9323, allocations: 0.6915 MB / 1.174 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.441e-05/0.9324, allocations: 7.281 kB / 1.174 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.9324, allocations: 15.44 kB / 1.174 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/0.9324, allocations: 0 / 1.174 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of Templates: time 0.003599/0.936, allocations: 0.9141 MB / 1.175 GB, free: 8.711 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)