Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_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.002585/0.002585, 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.002887/0.002887, allocations: 169.2 kB / 23.23 MB, free: 1.328 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.543/1.543, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.058/3.058, allocations: 389.9 MB / 0.6346 GB, free: 12.28 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_dp_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.303e-05, allocations: 2.281 kB / 1.002 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.002616/0.002649, allocations: 1.286 MB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.003725, allocations: 0.5417 MB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.003752, allocations: 0 / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.00377, allocations: 0 / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.117e-05/0.003811, allocations: 7.984 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.004373, allocations: 155.2 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.552e-05/0.004428, allocations: 11.92 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.004473, allocations: 4 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.104e-05/0.004504, allocations: 4 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.407e-05/0.004548, allocations: 11.98 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.004559, allocations: 3.938 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005376/0.005097, allocations: 311.3 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.005109, allocations: 0 / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.005128, allocations: 4 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.005421, allocations: 159.4 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.005425, allocations: 0 / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.352e-06/0.005426, allocations: 0 / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.00543, allocations: 0 / 1.004 GB, free: 9.883 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.0004354/0.005866, allocations: 278 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.005906, allocations: 12.62 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.005939, allocations: 4.891 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.006055, allocations: 109.8 kB / 1.005 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.006065, allocations: 384 / 1.005 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-06/0.006072, allocations: 4.312 kB / 1.005 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.169e-05/0.006163, allocations: 34.25 kB / 1.005 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.006171, allocations: 192 / 1.005 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.006179, allocations: 384 / 1.005 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.006185, allocations: 4.375 kB / 1.005 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.679e-05/0.006212, allocations: 7.875 kB / 1.005 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.006371, allocations: 105.3 kB / 1.005 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.171e-05/0.006432, allocations: 22.61 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.006459, allocations: 12.92 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.006482, allocations: 3.984 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.006515, allocations: 30.56 kB / 1.005 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 3.186e-06/0.006518, allocations: 7.984 kB / 1.005 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001637/0.006682, allocations: 37.64 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.006732, allocations: 55.41 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.548e-05/0.006828, allocations: 101.9 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.006848, allocations: 29.83 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.006893, allocations: 80.14 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.006918, allocations: 3.953 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.006954, allocations: 17.72 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.007126, allocations: 310.8 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.00714, allocations: 4 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-06/0.007148, allocations: 0 / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.041e-05/0.007188, allocations: 20.8 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.007192, allocations: 3.984 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.311e-05/0.007255, allocations: 37.77 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.007268, allocations: 4 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.007272, allocations: 0 / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.007285, allocations: 0 / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.007436, allocations: 11.98 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004801/0.007916, allocations: 0.5899 MB / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/0.007934, allocations: 7.875 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.007944, allocations: 4 kB / 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 9.413e-05/0.008038, allocations: 114.5 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.008049, allocations: 7.891 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.008165, allocations: 45 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.008166, allocations: 0 / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.00817, allocations: 3.938 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.008172, allocations: 0 / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.008272, allocations: 101.3 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.008273, allocations: 0 / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.186e-05/0.008345, allocations: 8 kB / 1.006 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.008347, allocations: 0 / 1.006 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.008368, allocations: 7.969 kB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004134/0.008781, allocations: 0.5938 MB / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008782, allocations: 0 / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.268e-05/0.008865, allocations: 57.11 kB / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.008877, allocations: 8 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.008887, allocations: 0 / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.765e-05/0.008905, allocations: 3.984 kB / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.008917, allocations: 0 / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.008919, allocations: 0 / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003129/0.009232, allocations: 83.41 kB / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009232, allocations: 0 / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000207/0.009439, 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.0002305/0.00967, allocations: 119.1 kB / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001641/0.009834, allocations: 19.98 kB / 1.007 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.009836, allocations: 0 / 1.007 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.734e-05/0.009923, allocations: 15.98 kB / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.01006, allocations: 5.656 kB / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.0104, allocations: 108.8 kB / 1.007 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.859e-05/0.01046, allocations: 55.36 kB / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.529e-05/0.01048, allocations: 0 / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.708e-05/0.01049, allocations: 8.5 kB / 1.007 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of SimCode: time 4.31e-07/0.01049, allocations: 3.938 kB / 1.007 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of Templates: time 0.003245/0.01374, allocations: 0.5582 MB / 1.008 GB, free: 5.727 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.96377032995224]