Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.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_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.56/2.56, allocations: 285 MB / 292.5 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 188.8 kB / 360.8 MB, free: 7.266 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.207/2.207, allocations: 205.3 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001044, allocations: 91.38 kB / 0.7322 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.97e-05, allocations: 4 kB / 0.8509 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7727/0.7728, allocations: 115.2 MB / 0.9634 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2364/1.009, allocations: 138.6 MB / 1.099 GB, free: 1.84 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/1.01, allocations: 86.33 kB / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02177/1.031, allocations: 4.24 MB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.158e-06/1.032, allocations: 4.547 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.054e-05/1.032, allocations: 4 kB / 1.103 GB, free: 13.57 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006503/1.032, allocations: 371.5 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.032, allocations: 8.031 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/1.032, allocations: 10.03 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/1.032, allocations: 171 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/1.032, allocations: 4 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/1.033, allocations: 7.906 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001275/1.033, allocations: 32 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/1.033, allocations: 59.3 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/1.033, allocations: 0 / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/1.033, allocations: 0 / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/1.033, allocations: 5.812 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/1.034, allocations: 308.6 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/1.034, allocations: 58.56 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.607e-05/1.034, allocations: 16.86 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/1.034, allocations: 9.422 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/1.034, allocations: 37.53 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/1.034, allocations: 0 / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001151/1.035, allocations: 0.5251 MB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/1.035, allocations: 55.41 kB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.785e-05/1.035, allocations: 96.94 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/1.035, allocations: 25.7 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/1.035, allocations: 88.14 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/1.035, allocations: 35.45 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/1.035, allocations: 3.938 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.036, allocations: 314.8 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.817e-05/1.036, allocations: 24 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.278e-05/1.036, allocations: 28.44 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.929e-05/1.036, allocations: 19.98 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.036, allocations: 0 / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002591/1.036, allocations: 96.34 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.036, allocations: 4 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/1.036, allocations: 0 / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/1.036, allocations: 7.938 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/1.036, allocations: 31.92 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/1.037, allocations: 0 / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/1.037, allocations: 8 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/1.037, allocations: 4 kB / 1.105 GB, free: 10.89 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 9.813e-05/1.037, allocations: 104.8 kB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/1.037, allocations: 11.89 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/1.037, allocations: 94.06 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/1.037, allocations: 4 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.037, allocations: 14.7 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.037, allocations: 4 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/1.038, allocations: 315.2 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.038, allocations: 0 / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/1.038, allocations: 35.97 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/1.038, allocations: 0 / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/1.038, allocations: 4 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/1.038, allocations: 3.953 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.038, allocations: 5.625 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/1.039, allocations: 212.7 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/1.039, allocations: 85.05 kB / 1.106 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/1.039, allocations: 0 / 1.106 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/1.039, allocations: 7.984 kB / 1.106 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/1.039, allocations: 11.95 kB / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/1.039, allocations: 7.984 kB / 1.106 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.57e-05/1.039, allocations: 79.28 kB / 1.106 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.039, allocations: 4.062 kB / 1.106 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004184/1.039, allocations: 39.94 kB / 1.106 GB, free: 9.781 MB / 0.7136 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 () * 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.0002971/1.04, allocations: 143.1 kB / 1.107 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002089/1.04, allocations: 55.94 kB / 1.107 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.04, allocations: 0 / 1.107 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/1.04, allocations: 39.92 kB / 1.107 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/1.04, allocations: 1.125 kB / 1.107 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006741/1.041, allocations: 244.5 kB / 1.107 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/1.041, allocations: 0.6967 MB / 1.108 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001016/1.041, allocations: 11.58 kB / 1.108 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/1.042, allocations: 15.44 kB / 1.108 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of SimCode: time 1.102e-06/1.042, allocations: 0 / 1.108 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of Templates: time 0.004869/1.046, allocations: 1.015 MB / 1.109 GB, free: 7.574 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)