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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.525/1.525, allocations: 289.7 MB / 302.3 MB, free: 2.191 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.001065/0.001065, allocations: 187.4 kB / 371.6 MB, free: 3.336 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.396/1.396, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009343/0.0009343, allocations: 89.14 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.026e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2301, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6338/0.8639, allocations: 140.4 MB / 1.117 GB, free: 43.49 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.8641, allocations: 82.23 kB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01117/0.8753, allocations: 4.262 MB / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8754, allocations: 0 / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.8754, allocations: 4 kB / 1.121 GB, free: 40.98 MB / 0.7448 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.0003058/0.8757, allocations: 373.2 kB / 1.122 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.8757, allocations: 8.031 kB / 1.122 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.8758, allocations: 8.688 kB / 1.122 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.028e-05/0.8759, allocations: 167 kB / 1.122 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.8759, allocations: 6.766 kB / 1.122 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.8759, allocations: 8.625 kB / 1.122 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.876, allocations: 67.12 kB / 1.122 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.8761, allocations: 4 kB / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.8761, allocations: 3.422 kB / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.8761, allocations: 1.062 kB / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.513e-05/0.8762, allocations: 31.31 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.8766, allocations: 336.6 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.8767, allocations: 64.55 kB / 1.122 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.8768, allocations: 21.52 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.8768, allocations: 0 / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.8768, allocations: 39.22 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.8768, allocations: 0 / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0008367/0.8777, allocations: 0.5688 MB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.8777, allocations: 51.41 kB / 1.123 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.094e-05/0.8778, allocations: 96.62 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.8778, allocations: 29.33 kB / 1.123 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.8778, allocations: 91.52 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.8778, allocations: 42.19 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.8779, allocations: 4 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 3.964e-05/0.8779, allocations: 322.5 kB / 1.123 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-05/0.878, allocations: 19.31 kB / 1.123 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.878, allocations: 24.25 kB / 1.123 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.163e-05/0.8781, allocations: 24.45 kB / 1.124 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.8781, allocations: 0 / 1.124 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001174/0.8782, allocations: 98.64 kB / 1.124 GB, free: 38.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.8782, allocations: 12.72 kB / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.8782, allocations: 1.5 kB / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.8782, allocations: 3.953 kB / 1.124 GB, free: 38.49 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.8784, allocations: 35.48 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.8784, allocations: 0.7812 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/0.8785, allocations: 4 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.8785, allocations: 7.625 kB / 1.124 GB, free: 38.46 MB / 0.7448 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 4.173e-05/0.8785, allocations: 101 kB / 1.124 GB, free: 38.35 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.8786, allocations: 15 kB / 1.124 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.8787, allocations: 111.7 kB / 1.124 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.8787, allocations: 8.578 kB / 1.124 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.8788, allocations: 0 / 1.124 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8788, allocations: 0 / 1.124 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.879, allocations: 359.5 kB / 1.124 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.879, allocations: 0.5 kB / 1.124 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.8792, allocations: 31.12 kB / 1.124 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.8792, allocations: 3.953 kB / 1.124 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.8792, allocations: 8 kB / 1.124 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.8792, allocations: 0.5 kB / 1.124 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8792, allocations: 0 / 1.124 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.8794, allocations: 224.3 kB / 1.124 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.8795, allocations: 77.11 kB / 1.125 GB, free: 37.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.8795, allocations: 12.52 kB / 1.125 GB, free: 37.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.8796, allocations: 11.31 kB / 1.125 GB, free: 37.56 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.8796, allocations: 8.062 kB / 1.125 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.8796, allocations: 10.88 kB / 1.125 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.871e-05/0.8797, allocations: 82.38 kB / 1.125 GB, free: 37.47 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8797, allocations: 0 / 1.125 GB, free: 37.47 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002428/0.8799, allocations: 43.38 kB / 1.125 GB, free: 37.43 MB / 0.7448 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.000173/0.8801, allocations: 143.4 kB / 1.125 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.8802, allocations: 70.89 kB / 1.125 GB, free: 37.24 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8802, allocations: 0 / 1.125 GB, free: 37.24 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.235e-05/0.8803, allocations: 35 kB / 1.125 GB, free: 37.21 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.8804, allocations: 12.52 kB / 1.125 GB, free: 37.21 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.8808, allocations: 241.2 kB / 1.125 GB, free: 37 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.8809, allocations: 0.6988 MB / 1.126 GB, free: 36.28 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.798e-05/0.881, allocations: 18.05 kB / 1.126 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.881, allocations: 15.44 kB / 1.126 GB, free: 36.26 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/0.881, allocations: 0 / 1.126 GB, free: 36.26 MB / 0.7448 GB Notification: Performance of Templates: time 0.002771/0.8838, allocations: 1.026 MB / 1.127 GB, free: 35.68 MB / 0.7448 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)