Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00111/0.00111, allocations: 193.4 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 59.73 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2973, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002776/0.3001, allocations: 1.535 MB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3012, allocations: 0.6306 MB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.27e-05/0.3012, allocations: 4 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.579e-05/0.3013, allocations: 3.938 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.121e-05/0.3013, allocations: 3.984 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.302, allocations: 139.5 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.933e-05/0.3021, allocations: 43.92 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.3021, allocations: 11.92 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.672e-05/0.3022, allocations: 16 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.266e-05/0.3023, allocations: 35.83 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.3023, allocations: 4 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004714/0.3028, allocations: 347.3 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.3028, allocations: 11.98 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.3028, allocations: 19.88 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.3031, allocations: 187.7 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3031, allocations: 0 / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3032, allocations: 0 / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3032, allocations: 4 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005815/0.3038, allocations: 395.3 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3038, allocations: 11.97 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.3038, allocations: 12.83 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.304, allocations: 164.4 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.304, allocations: 4.312 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.304, allocations: 8.375 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.3043, allocations: 82.22 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3043, allocations: 192 / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.3043, allocations: 11.86 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3043, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.3046, allocations: 55.95 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.3051, allocations: 328.6 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.3055, allocations: 74.53 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.3056, allocations: 36.83 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.3056, allocations: 0 / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.3057, allocations: 34.56 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3057, allocations: 0 / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001747/0.3074, allocations: 0.6501 MB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.3075, allocations: 51.41 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/0.3076, allocations: 101.8 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3076, allocations: 29.7 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.3076, allocations: 92.03 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.3077, allocations: 35.45 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.3077, allocations: 25.72 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3078, allocations: 326.8 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.308, allocations: 23.98 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.3081, allocations: 35.97 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.3084, allocations: 75.83 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3084, allocations: 0 / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003353/0.3087, allocations: 121.6 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3088, allocations: 12 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3088, allocations: 0 / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3088, allocations: 0 / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.3089, allocations: 23.98 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.309, allocations: 3.984 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.009e-05/0.309, allocations: 11.92 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.3091, allocations: 8 kB / 1.073 GB, free: 4.684 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.073e-05/0.3091, allocations: 117.8 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.3092, allocations: 4 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003837/0.3096, allocations: 133.4 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3096, allocations: 96 / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3096, allocations: 3.938 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3096, allocations: 3.938 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005796/0.3102, allocations: 390.6 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3102, allocations: 8 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.3104, allocations: 23.98 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3104, allocations: 0 / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.3104, allocations: 11.94 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3104, allocations: 0 / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3104, allocations: 192 / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/0.3109, allocations: 243.4 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.311, allocations: 89.03 kB / 1.074 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.311, allocations: 11.88 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.3111, allocations: 7.984 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.3112, allocations: 7.984 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.3112, allocations: 8 kB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.3112, allocations: 79.28 kB / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3112, allocations: 0 / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000287/0.3115, allocations: 43.92 kB / 1.074 GB, free: 3.41 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002309/0.3118, allocations: 135.2 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.3121, allocations: 87.88 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3121, allocations: 0 / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.3123, allocations: 43.92 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.3126, allocations: 13.11 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000743/0.3134, allocations: 353.3 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.3136, allocations: 0.6963 MB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.002e-05/0.3137, allocations: 12.61 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.3138, allocations: 11.44 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3138, allocations: 0 / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of Templates: time 0.003912/0.3177, allocations: 1.133 MB / 1.077 GB, free: 0.9219 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)