Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.477/2.477, allocations: 287.5 MB / 303.2 MB, free: 8.273 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.001342/0.001342, allocations: 187.4 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009422/0.0009416, allocations: 93.78 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006363/0.0006364, allocations: 15.03 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2039, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9333/1.137, allocations: 138.5 MB / 1.115 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/1.138, allocations: 83.14 kB / 1.115 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01303/1.151, allocations: 2.851 MB / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/1.151, allocations: 0 / 1.117 GB, free: 31.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.354e-06/1.151, allocations: 4 kB / 1.117 GB, free: 31.29 MB / 0.698 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.0003957/1.151, allocations: 345.8 kB / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/1.151, allocations: 7.719 kB / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/1.151, allocations: 9.312 kB / 1.118 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/1.151, allocations: 167.4 kB / 1.118 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/1.151, allocations: 384 / 1.118 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/1.151, allocations: 7.781 kB / 1.118 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/1.152, allocations: 40.16 kB / 1.118 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.152, allocations: 7.562 kB / 1.118 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/1.152, allocations: 3.938 kB / 1.118 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.152, allocations: 0 / 1.118 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.893e-05/1.152, allocations: 11.45 kB / 1.118 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/1.152, allocations: 155.7 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/1.152, allocations: 44.12 kB / 1.118 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/1.152, allocations: 20.09 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/1.152, allocations: 7.328 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/1.152, allocations: 34.41 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/1.152, allocations: 0 / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0007158/1.153, allocations: 309.4 kB / 1.119 GB, free: 30.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/1.153, allocations: 55.03 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.757e-05/1.153, allocations: 97.34 kB / 1.119 GB, free: 29.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/1.153, allocations: 29.08 kB / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/1.153, allocations: 84.14 kB / 1.119 GB, free: 29.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/1.153, allocations: 18.91 kB / 1.119 GB, free: 29.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/1.153, allocations: 0 / 1.119 GB, free: 29.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.153, allocations: 313.8 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.48e-05/1.153, allocations: 11.47 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.298e-05/1.154, allocations: 13.81 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.713e-05/1.154, allocations: 35.03 kB / 1.119 GB, free: 29.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/1.154, allocations: 0 / 1.119 GB, free: 29.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001328/1.154, allocations: 65.88 kB / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.154, allocations: 15.56 kB / 1.119 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.154, allocations: 0 / 1.119 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.154, allocations: 0.875 kB / 1.119 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/1.154, allocations: 11.02 kB / 1.119 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.154, allocations: 7.656 kB / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/1.154, allocations: 0 / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/1.154, allocations: 3.438 kB / 1.119 GB, free: 29.48 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.273e-05/1.154, allocations: 117.7 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/1.154, allocations: 7.844 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/1.154, allocations: 76.97 kB / 1.119 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/1.154, allocations: 0 / 1.119 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.154, allocations: 0 / 1.119 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/1.154, allocations: 3.234 kB / 1.119 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/1.155, allocations: 319.4 kB / 1.12 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.155, allocations: 0 / 1.12 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/1.155, allocations: 7.656 kB / 1.12 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/1.155, allocations: 3.875 kB / 1.12 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/1.155, allocations: 9.938 kB / 1.12 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/1.155, allocations: 0 / 1.12 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.155, allocations: 3.938 kB / 1.12 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/1.155, allocations: 182.2 kB / 1.12 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/1.155, allocations: 81.02 kB / 1.12 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/1.155, allocations: 6.484 kB / 1.12 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/1.155, allocations: 0 / 1.12 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/1.155, allocations: 7.969 kB / 1.12 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/1.155, allocations: 3.625 kB / 1.12 GB, free: 28.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.556e-05/1.155, allocations: 82.78 kB / 1.12 GB, free: 28.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.155, allocations: 0 / 1.12 GB, free: 28.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003645/1.156, allocations: 24.59 kB / 1.12 GB, free: 28.67 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002318/1.156, allocations: 135.1 kB / 1.12 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001253/1.156, allocations: 33.34 kB / 1.12 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.156, allocations: 4 kB / 1.12 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.947e-05/1.156, allocations: 18.72 kB / 1.12 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/1.157, allocations: 12.48 kB / 1.12 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/1.157, allocations: 226.1 kB / 1.121 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/1.157, allocations: 0.6799 MB / 1.121 GB, free: 27.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.752e-05/1.157, allocations: 0 / 1.121 GB, free: 27.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/1.157, allocations: 11.31 kB / 1.121 GB, free: 27.67 MB / 0.698 GB Notification: Performance of SimCode: time 6.42e-07/1.158, allocations: 0 / 1.121 GB, free: 27.67 MB / 0.698 GB Notification: Performance of Templates: time 0.003366/1.161, allocations: 0.6162 MB / 1.122 GB, free: 27.62 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)