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/Buildings 8.1.1-maint.8.1.x/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.657/1.657, allocations: 293 MB / 309 MB, free: 4.797 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.001027/0.001026, allocations: 176.5 kB / 378.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.4 MB / 0.6383 GB, free: 8.223 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00088/0.00088, allocations: 90.23 kB / 0.7527 GB, free: 62.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003971, allocations: 12 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2441, allocations: 116.4 MB / 0.9905 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6461/0.8902, allocations: 140.6 MB / 1.128 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.8905, allocations: 89.66 kB / 1.128 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01137/0.9019, allocations: 4.289 MB / 1.132 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.505e-06/0.902, allocations: 4 kB / 1.132 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.902, allocations: 4 kB / 1.132 GB, free: 30.36 MB / 0.7292 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.0004/0.9024, allocations: 379.2 kB / 1.132 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.9025, allocations: 8.031 kB / 1.132 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.9025, allocations: 5.438 kB / 1.132 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.825e-05/0.9026, allocations: 171.8 kB / 1.133 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.9026, allocations: 4.375 kB / 1.133 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.9027, allocations: 12.38 kB / 1.133 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.9029, allocations: 80.75 kB / 1.133 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.9029, allocations: 1.5 kB / 1.133 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.9029, allocations: 8.438 kB / 1.133 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.9029, allocations: 3.469 kB / 1.133 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.9031, allocations: 58.55 kB / 1.133 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.9036, allocations: 324.5 kB / 1.133 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.9039, allocations: 93.05 kB / 1.133 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.656e-05/0.904, allocations: 31.56 kB / 1.133 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.904, allocations: 4.141 kB / 1.133 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.9041, allocations: 39.22 kB / 1.133 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.9041, allocations: 0 / 1.133 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.001403/0.9055, allocations: 0.6617 MB / 1.134 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.9055, allocations: 59.41 kB / 1.134 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.07e-05/0.9056, allocations: 110.1 kB / 1.134 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.9056, allocations: 29.7 kB / 1.134 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.9057, allocations: 91.36 kB / 1.134 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.9057, allocations: 42.8 kB / 1.134 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.9057, allocations: 0 / 1.134 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.9058, allocations: 314.8 kB / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.9059, allocations: 38.94 kB / 1.135 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.551e-05/0.906, allocations: 35.17 kB / 1.135 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.9062, allocations: 87.86 kB / 1.135 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.9062, allocations: 4 kB / 1.135 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002553/0.9065, allocations: 125.1 kB / 1.135 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.9065, allocations: 4.75 kB / 1.135 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.9065, allocations: 0.9375 kB / 1.135 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.9065, allocations: 0.5625 kB / 1.135 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.9067, allocations: 35.41 kB / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.9067, allocations: 0 / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.693e-05/0.9068, allocations: 11.27 kB / 1.135 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.9068, allocations: 8.5 kB / 1.135 GB, free: 27.41 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.333e-05/0.9068, allocations: 117.8 kB / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.9069, allocations: 5.219 kB / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.9072, allocations: 143.1 kB / 1.135 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.9072, allocations: 1.406 kB / 1.135 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9072, allocations: 0 / 1.135 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.9072, allocations: 3.938 kB / 1.135 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.9077, allocations: 388.3 kB / 1.135 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.9077, allocations: 0 / 1.135 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.9079, allocations: 34.73 kB / 1.135 GB, free: 26.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.9079, allocations: 1.125 kB / 1.135 GB, free: 26.72 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.9079, allocations: 8.562 kB / 1.135 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.9079, allocations: 0 / 1.135 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.9079, allocations: 0 / 1.135 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.9083, allocations: 264.3 kB / 1.136 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.9084, allocations: 85.05 kB / 1.136 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.9084, allocations: 4.5 kB / 1.136 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.9085, allocations: 11.48 kB / 1.136 GB, free: 26.35 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.9085, allocations: 15.41 kB / 1.136 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.9085, allocations: 4 kB / 1.136 GB, free: 26.33 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.465e-05/0.9086, allocations: 79.94 kB / 1.136 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9086, allocations: 0 / 1.136 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002814/0.9089, allocations: 44.17 kB / 1.136 GB, free: 26.21 MB / 0.7292 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 (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.0002256/0.9091, allocations: 142.6 kB / 1.136 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002936/0.9094, allocations: 98.27 kB / 1.136 GB, free: 25.99 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9094, allocations: 0 / 1.136 GB, free: 25.99 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.9095, allocations: 42.8 kB / 1.136 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.9099, allocations: 10.38 kB / 1.136 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006265/0.9105, allocations: 385.1 kB / 1.137 GB, free: 25.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.9107, allocations: 0.6957 MB / 1.137 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.842e-05/0.9108, allocations: 14.16 kB / 1.137 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.9108, allocations: 15.38 kB / 1.137 GB, free: 24.86 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/0.9108, allocations: 0 / 1.137 GB, free: 24.86 MB / 0.7292 GB Notification: Performance of Templates: time 0.003613/0.9144, allocations: 1.072 MB / 1.138 GB, free: 24.28 MB / 0.7292 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)