Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.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.002647/0.002647, allocations: 84.5 kB / 19.96 MB, free: 4.59 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.003046/0.003046, allocations: 169.2 kB / 23.23 MB, free: 1.324 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.678/1.678, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.196/3.196, allocations: 389.9 MB / 0.6347 GB, free: 12.23 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.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.369e-05, allocations: 5.094 kB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.003672/0.003706, allocations: 1.274 MB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.00527, allocations: 0.5263 MB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.005305, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.005329, allocations: 3.938 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.805e-05/0.005388, allocations: 3.938 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007736/0.006161, allocations: 151.3 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.546e-05/0.006237, allocations: 23.91 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.006287, allocations: 0 / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.583e-05/0.006323, allocations: 4 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.837e-05/0.006372, allocations: 3.984 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.006388, allocations: 4 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008073/0.007195, allocations: 315.3 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.007212, allocations: 3.938 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.007236, allocations: 8 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.007621, allocations: 143.6 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.007624, allocations: 0 / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.062e-06/0.007625, allocations: 0 / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.00763, allocations: 0 / 1.004 GB, free: 9.891 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005497/0.008179, allocations: 286 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.008227, allocations: 8.625 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.008267, allocations: 4.891 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.008409, allocations: 109.7 kB / 1.005 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.008429, allocations: 4.312 kB / 1.005 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.008441, allocations: 8.359 kB / 1.005 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.008559, allocations: 38.25 kB / 1.005 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.008567, allocations: 192 / 1.005 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.008578, allocations: 384 / 1.005 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.008583, allocations: 384 / 1.005 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.008625, allocations: 7.938 kB / 1.005 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.008835, allocations: 101.3 kB / 1.005 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.16e-05/0.008917, allocations: 22.61 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.905e-05/0.008946, allocations: 12.86 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.008974, allocations: 3.984 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.009014, allocations: 34.56 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.009015, allocations: 0 / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001967/0.009212, allocations: 41.7 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.009271, allocations: 51.41 kB / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.009395, allocations: 105.8 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.00942, allocations: 25.7 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.009484, allocations: 80.14 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.009514, allocations: 3.953 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.009635, allocations: 13.72 kB / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.009846, allocations: 319.1 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.009868, allocations: 7.938 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.009879, allocations: 0 / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/0.009927, allocations: 20.86 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.009932, allocations: 3.984 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.348e-05/0.01003, allocations: 33.7 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.01004, allocations: 4 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.01005, allocations: 3.938 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.01006, allocations: 0 / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.01026, allocations: 12.08 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000623/0.01088, allocations: 0.5938 MB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.01091, allocations: 3.938 kB / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.01091, allocations: 0 / 1.006 GB, free: 7.754 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.01104, allocations: 110.4 kB / 1.006 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.01106, allocations: 11.89 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.01121, allocations: 45 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.01121, allocations: 0 / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01122, allocations: 4.125 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01122, allocations: 3.938 kB / 1.006 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.01136, allocations: 101.3 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01136, allocations: 0 / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.01147, allocations: 8 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01147, allocations: 0 / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.01148, allocations: 3.938 kB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005467/0.01203, allocations: 0.5821 MB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01203, allocations: 4 kB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.01216, allocations: 69.11 kB / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.01217, allocations: 4 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.01219, allocations: 0 / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.51e-05/0.01221, allocations: 3.984 kB / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.01223, allocations: 0 / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.01224, allocations: 4 kB / 1.007 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.251e-05/0.0123, allocations: 79.28 kB / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.0123, allocations: 0 / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003465/0.01264, allocations: 15.94 kB / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002951/0.01294, allocations: 126.1 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.01315, allocations: 19.98 kB / 1.007 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01315, allocations: 0 / 1.007 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.01329, allocations: 19.92 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.01351, allocations: 3.938 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.01392, allocations: 108.1 kB / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.43e-05/0.01401, allocations: 55.48 kB / 1.007 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.01403, allocations: 4 kB / 1.007 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.01405, allocations: 8.5 kB / 1.007 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of SimCode: time 7.32e-07/0.01405, allocations: 3.938 kB / 1.007 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of Templates: time 0.004488/0.01854, allocations: 0.5592 MB / 1.008 GB, free: 5.715 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.021393307019025]