Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002218/0.002218, allocations: 169.2 kB / 23.23 MB, free: 1.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.011/3.011, allocations: 389.9 MB / 0.6347 GB, free: 12.25 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.282e-05, allocations: 6.281 kB / 1.002 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.002614/0.002647, allocations: 1.288 MB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.003768, allocations: 0.5495 MB / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.0038, allocations: 0 / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.034e-05/0.003821, allocations: 0 / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.802e-05/0.003869, allocations: 15.92 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005982/0.004467, allocations: 161.6 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.578e-05/0.004543, allocations: 15.94 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.004593, allocations: 11.97 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.004647, allocations: 4 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.004701, allocations: 11.92 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.004714, allocations: 0 / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005297/0.005244, allocations: 323.2 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.00526, allocations: 3.984 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.005282, allocations: 8 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.00558, allocations: 159.5 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.005583, allocations: 0 / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.62e-07/0.005584, allocations: 0 / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.005588, allocations: 0 / 1.004 GB, free: 9.832 MB / 0.9636 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.0004806/0.006069, allocations: 290 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.006111, allocations: 8.031 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.006144, allocations: 0.9375 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.006272, allocations: 113.7 kB / 1.005 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.006285, allocations: 384 / 1.005 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.006308, allocations: 8.375 kB / 1.005 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.006448, allocations: 67.89 kB / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.006455, allocations: 192 / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.006468, allocations: 8.312 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.006473, allocations: 384 / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.193e-05/0.006525, allocations: 15.92 kB / 1.005 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.006699, allocations: 109.3 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.0069, allocations: 38.61 kB / 1.005 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.00694, allocations: 20.88 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.006965, allocations: 4 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.006998, allocations: 38.56 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.006999, allocations: 0 / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.000664/0.007663, allocations: 237.4 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.007712, allocations: 55.34 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.007805, allocations: 105.8 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.00783, allocations: 25.7 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.007879, allocations: 80.14 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.007912, allocations: 23.8 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.007957, allocations: 21.7 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.00813, allocations: 314.8 kB / 1.006 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.008158, allocations: 12 kB / 1.006 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.769e-05/0.008185, allocations: 19.97 kB / 1.006 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.734e-05/0.008253, allocations: 32.8 kB / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.008253, allocations: 0 / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001089/0.008362, allocations: 65.69 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.008375, allocations: 4 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.00838, allocations: 0 / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.008393, allocations: 0 / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.269e-05/0.008445, allocations: 12 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.008457, allocations: 7.922 kB / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.008474, allocations: 0 / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.008479, allocations: 4 kB / 1.006 GB, free: 7.914 MB / 0.9636 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.52e-05/0.008574, allocations: 118.3 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.00859, allocations: 7.953 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.008739, allocations: 65.81 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.008743, allocations: 3.984 kB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.00875, allocations: 3.938 kB / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.008753, allocations: 0 / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.0091, allocations: 255.1 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.009105, allocations: 7.938 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/0.009171, allocations: 11.98 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.009173, allocations: 4.031 kB / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.009185, allocations: 7.938 kB / 1.006 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.009187, allocations: 192 / 1.006 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.00919, allocations: 7.938 kB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.009416, allocations: 176.3 kB / 1.007 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.009442, allocations: 7.938 kB / 1.007 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.00946, allocations: 7.969 kB / 1.007 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.009533, allocations: 4 kB / 1.007 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.009554, allocations: 7.984 kB / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.009558, allocations: 0 / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.058e-05/0.009609, allocations: 83.34 kB / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009609, allocations: 0 / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002484/0.009857, allocations: 31.88 kB / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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 (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.0002639/0.01012, allocations: 139.1 kB / 1.007 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.01023, allocations: 35.92 kB / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01023, allocations: 0 / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.971e-05/0.01026, allocations: 12 kB / 1.007 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.01047, allocations: 4 kB / 1.007 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.01089, allocations: 173.9 kB / 1.007 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.166e-05/0.01096, allocations: 63.34 kB / 1.007 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.709e-05/0.01099, allocations: 4 kB / 1.007 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.01101, allocations: 16.5 kB / 1.007 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.01101, allocations: 0 / 1.007 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of Templates: time 0.003883/0.01489, allocations: 0.8356 MB / 1.008 GB, free: 5.754 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.708758235909045]