Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.547/1.547, allocations: 285.4 MB / 298 MB, free: 5.973 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.001072/0.001072, allocations: 176.8 kB / 366.4 MB, free: 2.105 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.261/1.261, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0008114/0.0008114, allocations: 96.33 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.665e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5831/0.5832, allocations: 115.3 MB / 0.9709 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1648/0.748, allocations: 138.8 MB / 1.106 GB, free: 13 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.7483, allocations: 79.7 kB / 1.107 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01339/0.7617, allocations: 4.503 MB / 1.111 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7617, allocations: 0 / 1.111 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.7617, allocations: 0 / 1.111 GB, free: 8.461 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.0003126/0.762, allocations: 343.7 kB / 1.111 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.7621, allocations: 8.031 kB / 1.111 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.7621, allocations: 17.66 kB / 1.111 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.7622, allocations: 170.9 kB / 1.111 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.7623, allocations: 0.8125 kB / 1.111 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.7623, allocations: 4 kB / 1.111 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.7624, allocations: 52.38 kB / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.7624, allocations: 1.188 kB / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.7625, allocations: 0 / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.7625, allocations: 4 kB / 1.112 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.991e-05/0.7625, allocations: 20.73 kB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.7627, allocations: 168 kB / 1.112 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.737e-05/0.7628, allocations: 58.88 kB / 1.112 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.7629, allocations: 32.8 kB / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.7629, allocations: 240 / 1.112 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.7629, allocations: 38.78 kB / 1.112 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.7629, allocations: 0 / 1.112 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0009328/0.7639, allocations: 0.551 MB / 1.112 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.7639, allocations: 55.41 kB / 1.112 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.071e-05/0.764, allocations: 91.84 kB / 1.112 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.764, allocations: 32.7 kB / 1.113 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.764, allocations: 80.14 kB / 1.113 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.7641, allocations: 55.22 kB / 1.113 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.7641, allocations: 0 / 1.113 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7642, allocations: 322.8 kB / 1.113 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.11e-05/0.7642, allocations: 20.12 kB / 1.113 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.7643, allocations: 24 kB / 1.113 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.742e-05/0.7643, allocations: 27.92 kB / 1.113 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.7643, allocations: 0 / 1.113 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001349/0.7645, allocations: 87.81 kB / 1.113 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.7645, allocations: 9.094 kB / 1.113 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7645, allocations: 0 / 1.113 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.7645, allocations: 0 / 1.113 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.7646, allocations: 19.98 kB / 1.113 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.7647, allocations: 0 / 1.113 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.7647, allocations: 8 kB / 1.113 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.7647, allocations: 4 kB / 1.113 GB, free: 5.926 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.343e-05/0.7648, allocations: 116.9 kB / 1.113 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.7648, allocations: 7.906 kB / 1.113 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.765, allocations: 97.75 kB / 1.113 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.765, allocations: 7.938 kB / 1.113 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.765, allocations: 1.812 kB / 1.113 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7651, allocations: 2.062 kB / 1.113 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.7654, allocations: 352.3 kB / 1.114 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7655, allocations: 0 / 1.114 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.7656, allocations: 16 kB / 1.114 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7656, allocations: 0 / 1.114 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.7656, allocations: 11.98 kB / 1.114 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.7656, allocations: 0 / 1.114 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7656, allocations: 0 / 1.114 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.7659, allocations: 223.3 kB / 1.114 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.7659, allocations: 77.17 kB / 1.114 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.7659, allocations: 8.031 kB / 1.114 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.766, allocations: 6 kB / 1.114 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.766, allocations: 7.984 kB / 1.114 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.7661, allocations: 4 kB / 1.114 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.837e-05/0.7661, allocations: 75.28 kB / 1.114 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7661, allocations: 0 / 1.114 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000264/0.7664, allocations: 43.94 kB / 1.114 GB, free: 4.785 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.0002177/0.7666, allocations: 151.2 kB / 1.114 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.7667, allocations: 59.94 kB / 1.114 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7667, allocations: 0 / 1.114 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.732e-05/0.7668, allocations: 38.66 kB / 1.114 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.7669, allocations: 10.95 kB / 1.114 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.7674, allocations: 235.6 kB / 1.115 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.7676, allocations: 0.6848 MB / 1.115 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.232e-05/0.7676, allocations: 7.984 kB / 1.115 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.7677, allocations: 15.44 kB / 1.115 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of SimCode: time 3.5e-07/0.7677, allocations: 7.469 kB / 1.115 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of Templates: time 0.002771/0.7705, allocations: 0.8594 MB / 1.116 GB, free: 2.727 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)