Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008246/0.0008248, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006118/0.006118, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 252 MB / 0.5105 GB, free: 4.605 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005191/0.0005192, allocations: 12 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4954/0.4959, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001388/0.4974, allocations: 1.002 MB / 0.7297 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.4985, allocations: 0.6113 MB / 0.7303 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.4985, allocations: 0 / 0.7303 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.4986, allocations: 7.938 kB / 0.7303 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.295e-05/0.4986, allocations: 0 / 0.7303 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006106/0.4992, allocations: 127.6 kB / 0.7304 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.669e-05/0.4993, allocations: 15.94 kB / 0.7304 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.4994, allocations: 0 / 0.7304 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.486e-05/0.4994, allocations: 11.92 kB / 0.7305 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.177e-05/0.4995, allocations: 8 kB / 0.7305 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.4995, allocations: 4 kB / 0.7305 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005043/0.5, allocations: 343.3 kB / 0.7308 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.5, allocations: 3.938 kB / 0.7308 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.5001, allocations: 37.69 kB / 0.7308 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.5003, allocations: 149.6 kB / 0.731 GB, free: 8.941 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5004, allocations: 0 / 0.731 GB, free: 8.941 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5004, allocations: 0 / 0.731 GB, free: 8.941 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.5004, allocations: 0 / 0.731 GB, free: 8.941 MB / 0.545 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.0003687/0.5007, allocations: 359.4 kB / 0.7313 GB, free: 8.539 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.5008, allocations: 8.031 kB / 0.7313 GB, free: 8.531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.5008, allocations: 4.875 kB / 0.7313 GB, free: 8.527 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.5009, allocations: 168.3 kB / 0.7315 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.501, allocations: 8.312 kB / 0.7315 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.501, allocations: 12.28 kB / 0.7315 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.5011, allocations: 38.19 kB / 0.7316 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.5011, allocations: 192 / 0.7316 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.5011, allocations: 7.938 kB / 0.7316 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.5011, allocations: 0 / 0.7316 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.717e-05/0.5012, allocations: 11.98 kB / 0.7316 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.5013, allocations: 157.7 kB / 0.7317 GB, free: 8.039 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.5015, allocations: 54.5 kB / 0.7318 GB, free: 7.977 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.5016, allocations: 12.86 kB / 0.7318 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.5016, allocations: 4 kB / 0.7318 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.5016, allocations: 30.56 kB / 0.7318 GB, free: 7.918 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5016, allocations: 0 / 0.7318 GB, free: 7.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006466/0.5023, allocations: 318.3 kB / 0.7321 GB, free: 7.555 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.5023, allocations: 59.41 kB / 0.7322 GB, free: 7.484 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.913e-05/0.5024, allocations: 93.86 kB / 0.7323 GB, free: 7.383 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.5024, allocations: 29.7 kB / 0.7323 GB, free: 7.348 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.5025, allocations: 80.14 kB / 0.7324 GB, free: 7.266 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.5025, allocations: 23.64 kB / 0.7324 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.5025, allocations: 13.72 kB / 0.7324 GB, free: 7.223 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.5026, allocations: 314.8 kB / 0.7327 GB, free: 6.906 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.073e-05/0.5027, allocations: 11.98 kB / 0.7327 GB, free: 6.895 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088e-05/0.5027, allocations: 12 kB / 0.7327 GB, free: 6.883 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.913e-05/0.5028, allocations: 40.78 kB / 0.7328 GB, free: 6.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.5028, allocations: 0 / 0.7328 GB, free: 6.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.698e-05/0.5029, allocations: 61.69 kB / 0.7328 GB, free: 6.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.5029, allocations: 11.94 kB / 0.7328 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5029, allocations: 0 / 0.7328 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5029, allocations: 0 / 0.7328 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.369e-05/0.503, allocations: 11.98 kB / 0.7329 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.503, allocations: 0 / 0.7329 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.503, allocations: 0 / 0.7329 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.503, allocations: 8 kB / 0.7329 GB, free: 6.742 MB / 0.545 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 7.296e-05/0.5031, allocations: 113.8 kB / 0.733 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.5031, allocations: 7.938 kB / 0.733 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.5033, allocations: 73.55 kB / 0.733 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.5033, allocations: 3.938 kB / 0.733 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5033, allocations: 4 kB / 0.7331 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5033, allocations: 3.938 kB / 0.7331 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.5036, allocations: 319.4 kB / 0.7334 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.5036, allocations: 0 / 0.7334 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.5037, allocations: 11.98 kB / 0.7334 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5037, allocations: 4 kB / 0.7334 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.5037, allocations: 0 / 0.7334 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5037, allocations: 0 / 0.7334 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5037, allocations: 0 / 0.7334 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.5039, allocations: 184.5 kB / 0.7336 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.504, allocations: 85.19 kB / 0.7336 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.504, allocations: 4.547 kB / 0.7336 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.5041, allocations: 4 kB / 0.7336 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.5041, allocations: 7.984 kB / 0.7336 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.5041, allocations: 0 / 0.7336 GB, free: 5.816 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.526e-05/0.5041, allocations: 83.27 kB / 0.7337 GB, free: 5.734 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5041, allocations: 0 / 0.7337 GB, free: 5.734 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002556/0.5044, allocations: 24 kB / 0.7338 GB, free: 5.711 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001809/0.5046, allocations: 127.2 kB / 0.7339 GB, free: 5.578 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.341e-05/0.5047, allocations: 36.16 kB / 0.7339 GB, free: 5.543 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5047, allocations: 0 / 0.7339 GB, free: 5.543 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.5047, allocations: 23.92 kB / 0.7339 GB, free: 5.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.505, allocations: 10.75 kB / 0.7339 GB, free: 5.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.5054, allocations: 225.7 kB / 0.7342 GB, free: 5.258 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.5056, allocations: 0.6809 MB / 0.7348 GB, free: 4.551 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.581e-05/0.5056, allocations: 12.14 kB / 0.7348 GB, free: 4.539 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.5057, allocations: 11.44 kB / 0.7348 GB, free: 4.527 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5057, allocations: 0 / 0.7348 GB, free: 4.527 MB / 0.545 GB Notification: Performance of Templates: time 0.002853/0.5085, allocations: 0.6186 MB / 0.7354 GB, free: 3.941 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: