Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001378/0.001378, allocations: 104 kB / 16.36 MB, free: 6.301 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.001285/0.001285, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.434/1.434, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 292.3 MB / 0.5496 GB, free: 17.39 MB / 462.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.001414/0.001414, allocations: 71.89 kB / 0.6729 GB, free: 5.762 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2495, allocations: 114.6 MB / 0.7848 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002673/0.2522, allocations: 1.487 MB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2533, allocations: 0.6306 MB / 0.7869 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.2533, allocations: 0 / 0.7869 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/0.2534, allocations: 3.938 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.567e-05/0.2534, allocations: 3.938 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.254, allocations: 162.7 kB / 0.787 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.439e-05/0.2541, allocations: 55.78 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/0.2541, allocations: 7.984 kB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.094e-05/0.2542, allocations: 19.92 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.2542, allocations: 27.91 kB / 0.7871 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.2543, allocations: 4 kB / 0.7871 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005019/0.2548, allocations: 347.3 kB / 0.7875 GB, free: 352 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.836e-05/0.2548, allocations: 11.94 kB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.2548, allocations: 27.91 kB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.2551, allocations: 179.5 kB / 0.7877 GB, free: 132 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.547e-06/0.2551, allocations: 7.984 kB / 0.7877 GB, free: 124 kB / 0.6544 GB Notification: Performance of FrontEnd: time 3.246e-06/0.2551, allocations: 0 / 0.7877 GB, free: 124 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2551, allocations: 3.938 kB / 0.7877 GB, free: 120 kB / 0.6544 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.4484/0.7035, allocations: 390.5 kB / 0.788 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.7036, allocations: 13.56 kB / 0.7881 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.7037, allocations: 6.656 kB / 0.7881 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.7038, allocations: 168.1 kB / 0.7882 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.7038, allocations: 7.656 kB / 0.7882 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.7038, allocations: 6.062 kB / 0.7882 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.7041, allocations: 83.23 kB / 0.7883 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.7041, allocations: 4.75 kB / 0.7883 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.7042, allocations: 3.938 kB / 0.7883 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.7042, allocations: 0 / 0.7883 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.7044, allocations: 51.38 kB / 0.7884 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.7049, allocations: 322.1 kB / 0.7887 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.7052, allocations: 87.02 kB / 0.7888 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.7054, allocations: 24.64 kB / 0.7888 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.7054, allocations: 2.688 kB / 0.7888 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.7054, allocations: 39.58 kB / 0.7888 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.7054, allocations: 0 / 0.7888 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001524/0.707, allocations: 0.6412 MB / 0.7895 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.707, allocations: 54.03 kB / 0.7895 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.912e-05/0.7071, allocations: 102.8 kB / 0.7896 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.7071, allocations: 30.05 kB / 0.7896 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.7071, allocations: 92.08 kB / 0.7897 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.7072, allocations: 41.81 kB / 0.7898 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.7072, allocations: 35.88 kB / 0.7898 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.123e-05/0.7073, allocations: 314.8 kB / 0.7901 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.7074, allocations: 32.19 kB / 0.7901 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.7076, allocations: 31.98 kB / 0.7902 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.7078, allocations: 68.84 kB / 0.7902 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7078, allocations: 1.875 kB / 0.7902 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002901/0.7081, allocations: 124.7 kB / 0.7903 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.7081, allocations: 8.766 kB / 0.7904 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.7081, allocations: 0 / 0.7904 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.7082, allocations: 0 / 0.7904 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.7083, allocations: 29.69 kB / 0.7904 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.7083, allocations: 2.812 kB / 0.7904 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.244e-05/0.7084, allocations: 14.59 kB / 0.7904 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.7084, allocations: 2.312 kB / 0.7904 GB, free: 47.66 MB / 0.6544 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 7.325e-05/0.7085, allocations: 118.1 kB / 0.7905 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.7085, allocations: 8.812 kB / 0.7905 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.7089, allocations: 125.6 kB / 0.7906 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.7089, allocations: 5.344 kB / 0.7906 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7089, allocations: 0 / 0.7906 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.709, allocations: 5.625 kB / 0.7907 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.7095, allocations: 383 kB / 0.791 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7095, allocations: 0 / 0.791 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.7096, allocations: 30.05 kB / 0.791 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7096, allocations: 0 / 0.791 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.7097, allocations: 9.812 kB / 0.7911 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7097, allocations: 0 / 0.7911 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.7097, allocations: 0.625 kB / 0.7911 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004882/0.7102, allocations: 254.8 kB / 0.7913 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.7102, allocations: 80.33 kB / 0.7914 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.7102, allocations: 3.938 kB / 0.7914 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.7104, allocations: 13.47 kB / 0.7914 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.7104, allocations: 8.141 kB / 0.7914 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.7104, allocations: 2.625 kB / 0.7914 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.032e-05/0.7104, allocations: 89.11 kB / 0.7915 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7104, allocations: 0 / 0.7915 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002881/0.7107, allocations: 32.38 kB / 0.7915 GB, free: 46.9 MB / 0.6544 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.0002276/0.711, allocations: 137.6 kB / 0.7917 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.7113, allocations: 92.59 kB / 0.7917 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7113, allocations: 2.031 kB / 0.7917 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.7115, allocations: 42.81 kB / 0.7918 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.7118, allocations: 10.91 kB / 0.7918 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006364/0.7124, allocations: 342 kB / 0.7921 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.7126, allocations: 0.694 MB / 0.7928 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.7126, allocations: 17.89 kB / 0.7928 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7127, allocations: 0 / 0.7928 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.002997/0.7157, allocations: 1.31 MB / 0.7941 GB, free: 45.82 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)