Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.0009119/0.0009119, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.001067/0.001067, allocations: 168.2 kB / 25.05 MB, free: 9.238 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 0.9916/0.9916, allocations: 177.1 MB / 205.5 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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 1.889/1.889, allocations: 389.6 MB / 0.6363 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.7761 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.2e-05, allocations: 3.062 kB / 0.7761 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001885/0.001907, allocations: 1.358 MB / 0.7775 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007393/0.002646, allocations: 0.5537 MB / 0.778 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.002671, allocations: 0.875 kB / 0.778 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.002693, allocations: 3.938 kB / 0.778 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.211e-05/0.002745, allocations: 4.641 kB / 0.778 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.003156, allocations: 134 kB / 0.7781 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.534e-05/0.003202, allocations: 15.92 kB / 0.7782 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.003236, allocations: 4.75 kB / 0.7782 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.682e-05/0.003262, allocations: 4 kB / 0.7782 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.919e-05/0.003302, allocations: 8.484 kB / 0.7782 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.003312, allocations: 0.75 kB / 0.7782 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003191/0.003631, allocations: 271.4 kB / 0.7784 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.003646, allocations: 6.484 kB / 0.7784 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.207e-05/0.003658, allocations: 0 / 0.7784 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.003845, allocations: 151.5 kB / 0.7786 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003847, allocations: 0 / 0.7786 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.42e-07/0.003848, allocations: 0 / 0.7786 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.003851, allocations: 0 / 0.7786 GB, free: 2.793 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002521/0.004103, allocations: 252.3 kB / 0.7788 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.004139, allocations: 15.5 kB / 0.7788 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.004162, allocations: 4.938 kB / 0.7788 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.981e-05/0.004242, allocations: 109.7 kB / 0.7789 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.004252, allocations: 384 / 0.7789 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-06/0.00426, allocations: 384 / 0.7789 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.69e-05/0.004317, allocations: 34.25 kB / 0.779 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.004323, allocations: 192 / 0.779 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-06/0.004328, allocations: 2.938 kB / 0.779 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.004333, allocations: 384 / 0.779 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.136e-05/0.004345, allocations: 11.88 kB / 0.779 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.221e-05/0.004417, allocations: 53.39 kB / 0.779 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.717e-05/0.004454, allocations: 34.52 kB / 0.7791 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.159e-05/0.004466, allocations: 8.859 kB / 0.7791 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.004484, allocations: 1.75 kB / 0.7791 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.004504, allocations: 34.62 kB / 0.7791 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 5.41e-07/0.004505, allocations: 0 / 0.7791 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 8.393e-05/0.004589, allocations: 34.19 kB / 0.7792 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.004619, allocations: 55.41 kB / 0.7792 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.015e-05/0.004669, allocations: 99.75 kB / 0.7793 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.004679, allocations: 25.7 kB / 0.7793 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.226e-05/0.004701, allocations: 84.8 kB / 0.7794 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.004724, allocations: 11.88 kB / 0.7794 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/0.004744, allocations: 18.84 kB / 0.7794 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.004818, allocations: 318.8 kB / 0.7797 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-06/0.004824, allocations: 0 / 0.7797 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-06/0.004829, allocations: 4.688 kB / 0.7797 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.926e-05/0.004849, allocations: 9.641 kB / 0.7798 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.004851, allocations: 4.609 kB / 0.7798 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.871e-05/0.00489, allocations: 30.61 kB / 0.7798 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.0049, allocations: 8 kB / 0.7798 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.004904, allocations: 0 / 0.7798 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.284e-06/0.004911, allocations: 5.375 kB / 0.7798 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.005019, allocations: 7.984 kB / 0.7798 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002463/0.005265, allocations: 0.5827 MB / 0.7804 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.00528, allocations: 4 kB / 0.7804 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.005285, allocations: 5.594 kB / 0.7804 GB, free: 0.7812 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 (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 5.239e-05/0.005337, allocations: 109.8 kB / 0.7805 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-06/0.005342, allocations: 0 / 0.7805 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.374e-05/0.005415, allocations: 45.81 kB / 0.7805 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.005418, allocations: 3.938 kB / 0.7805 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005419, allocations: 0.9688 kB / 0.7805 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.005422, allocations: 0 / 0.7805 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.292e-05/0.005475, allocations: 70.81 kB / 0.7806 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.005476, allocations: 0 / 0.7806 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.005522, allocations: 8 kB / 0.7806 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.005524, allocations: 4.469 kB / 0.7806 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-06/0.005527, allocations: 0.5 kB / 0.7806 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002006/0.005728, allocations: 0.5874 MB / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005729, allocations: 0 / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.187e-05/0.00577, allocations: 58.42 kB / 0.7812 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.00578, allocations: 11.92 kB / 0.7813 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.005789, allocations: 4 kB / 0.7813 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-06/0.005795, allocations: 0 / 0.7813 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-06/0.005805, allocations: 1.469 kB / 0.7813 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.005807, allocations: 0 / 0.7813 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.21e-05/0.005819, allocations: 12.86 kB / 0.7813 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005819, allocations: 0.625 kB / 0.7813 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001074/0.005927, allocations: 7.938 kB / 0.7813 GB, free: 15.79 MB / 0.7448 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.0001104/0.006037, allocations: 93.48 kB / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.006139, allocations: 26.31 kB / 0.7814 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.006142, allocations: 0 / 0.7814 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.127e-05/0.006173, allocations: 18.16 kB / 0.7814 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.33e-05/0.006226, allocations: 0 / 0.7814 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.006439, allocations: 119.4 kB / 0.7815 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.504e-05/0.006464, allocations: 51.36 kB / 0.7816 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.233e-05/0.006477, allocations: 1.438 kB / 0.7816 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.006503, allocations: 51.38 kB / 0.7816 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.006503, allocations: 0 / 0.7816 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of Templates: time 0.002047/0.00855, allocations: 0.5206 MB / 0.7821 GB, free: 14.9 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.76951417978853]