Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001771/0.001771, allocations: 108.3 kB / 19.72 MB, free: 416 kB / 13.93 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.001899/0.001899, allocations: 213.8 kB / 23.02 MB, free: 2.957 MB / 13.93 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.727/1.727, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.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.502/3.502, allocations: 0.5045 GB / 0.8104 GB, free: 2.816 MB / 0.6511 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003821/0.003821, allocations: 69.86 kB / 1.177 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3838, allocations: 180 MB / 1.353 GB, free: 8.703 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002445/0.3862, allocations: 1.277 MB / 1.354 GB, free: 7.414 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3873, allocations: 0.5181 MB / 1.355 GB, free: 6.895 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.3874, allocations: 0 / 1.355 GB, free: 6.895 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.3874, allocations: 7.875 kB / 1.355 GB, free: 6.887 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.239e-05/0.3874, allocations: 0 / 1.355 GB, free: 6.887 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.3879, allocations: 140.1 kB / 1.355 GB, free: 6.75 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 5.985e-05/0.388, allocations: 15.94 kB / 1.355 GB, free: 6.734 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.359e-05/0.388, allocations: 0 / 1.355 GB, free: 6.734 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.902e-05/0.388, allocations: 7.938 kB / 1.355 GB, free: 6.727 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.967e-05/0.3881, allocations: 7.984 kB / 1.355 GB, free: 6.719 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.3881, allocations: 0 / 1.355 GB, free: 6.719 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.3886, allocations: 267.5 kB / 1.355 GB, free: 6.457 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.3886, allocations: 0 / 1.355 GB, free: 6.457 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.3886, allocations: 7.984 kB / 1.355 GB, free: 6.449 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.3889, allocations: 135.5 kB / 1.355 GB, free: 6.316 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3889, allocations: 0 / 1.355 GB, free: 6.316 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3889, allocations: 0 / 1.355 GB, free: 6.316 MB / 1.042 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.3889, allocations: 0 / 1.355 GB, free: 6.316 MB / 1.042 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.0004123/0.3893, allocations: 278 kB / 1.355 GB, free: 6.012 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3893, allocations: 16.03 kB / 1.355 GB, free: 5.996 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.3893, allocations: 0.9375 kB / 1.355 GB, free: 5.996 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.3895, allocations: 102.5 kB / 1.356 GB, free: 5.871 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.3895, allocations: 4.375 kB / 1.356 GB, free: 5.867 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.3895, allocations: 384 / 1.356 GB, free: 5.867 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.542e-05/0.3896, allocations: 34.27 kB / 1.356 GB, free: 5.828 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3896, allocations: 192 / 1.356 GB, free: 5.828 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3896, allocations: 3.938 kB / 1.356 GB, free: 5.824 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3896, allocations: 0 / 1.356 GB, free: 5.824 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.926e-05/0.3896, allocations: 15.86 kB / 1.356 GB, free: 5.809 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.3898, allocations: 105.4 kB / 1.356 GB, free: 5.676 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.335e-05/0.3898, allocations: 18.58 kB / 1.356 GB, free: 5.648 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/0.3898, allocations: 4.859 kB / 1.356 GB, free: 5.641 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.3899, allocations: 4.062 kB / 1.356 GB, free: 5.637 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.3899, allocations: 38.55 kB / 1.356 GB, free: 5.59 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3899, allocations: 0 / 1.356 GB, free: 5.59 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0001561/0.3901, allocations: 45.53 kB / 1.356 GB, free: 5.539 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.3901, allocations: 55.41 kB / 1.356 GB, free: 5.473 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.189e-05/0.3902, allocations: 94.08 kB / 1.356 GB, free: 5.371 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.3902, allocations: 29.73 kB / 1.356 GB, free: 5.336 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.3903, allocations: 88.12 kB / 1.356 GB, free: 5.246 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.3903, allocations: 3.953 kB / 1.356 GB, free: 5.242 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.3903, allocations: 17.72 kB / 1.356 GB, free: 5.219 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3905, allocations: 310.8 kB / 1.356 GB, free: 4.906 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.3905, allocations: 0 / 1.356 GB, free: 4.906 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.3905, allocations: 4 kB / 1.356 GB, free: 4.902 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.988e-05/0.3905, allocations: 16.8 kB / 1.356 GB, free: 4.883 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3905, allocations: 0 / 1.356 GB, free: 4.883 MB / 1.042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.853e-05/0.3906, allocations: 45.69 kB / 1.356 GB, free: 4.832 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3906, allocations: 8 kB / 1.357 GB, free: 4.824 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3906, allocations: 0 / 1.357 GB, free: 4.824 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3906, allocations: 7.938 kB / 1.357 GB, free: 4.816 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.3908, allocations: 11.98 kB / 1.357 GB, free: 4.805 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004438/0.3912, allocations: 0.5782 MB / 1.357 GB, free: 4.203 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.3912, allocations: 0 / 1.357 GB, free: 4.203 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.3912, allocations: 4.031 kB / 1.357 GB, free: 4.199 MB / 1.042 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 8.743e-05/0.3913, allocations: 114.4 kB / 1.357 GB, free: 4.078 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-06/0.3913, allocations: 4 kB / 1.357 GB, free: 4.074 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.3914, allocations: 48.94 kB / 1.357 GB, free: 4.023 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3914, allocations: 4 kB / 1.357 GB, free: 4.02 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3914, allocations: 0 / 1.357 GB, free: 4.02 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-06/0.3914, allocations: 0 / 1.357 GB, free: 4.02 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.931e-05/0.3915, allocations: 93.33 kB / 1.357 GB, free: 3.898 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.3915, allocations: 11.92 kB / 1.357 GB, free: 3.887 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.97e-05/0.3916, allocations: 8 kB / 1.357 GB, free: 3.879 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3916, allocations: 3.938 kB / 1.357 GB, free: 3.875 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.3916, allocations: 0 / 1.357 GB, free: 3.875 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004065/0.392, allocations: 0.5938 MB / 1.358 GB, free: 3.258 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.392, allocations: 0 / 1.358 GB, free: 3.258 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.956e-05/0.3921, allocations: 69.09 kB / 1.358 GB, free: 3.172 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-06/0.3921, allocations: 0 / 1.358 GB, free: 3.172 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-06/0.3921, allocations: 0 / 1.358 GB, free: 3.172 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.385e-05/0.3921, allocations: 0 / 1.358 GB, free: 3.172 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.3922, allocations: 11.97 kB / 1.358 GB, free: 3.16 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.3922, allocations: 0 / 1.358 GB, free: 3.16 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.3922, allocations: 79.41 kB / 1.358 GB, free: 3.082 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.3922, allocations: 4 kB / 1.358 GB, free: 3.078 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001841/0.3924, allocations: 11.88 kB / 1.358 GB, free: 3.066 MB / 1.042 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.0001664/0.3926, allocations: 111.2 kB / 1.358 GB, free: 2.945 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001675/0.3927, allocations: 23.92 kB / 1.358 GB, free: 2.922 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3927, allocations: 0 / 1.358 GB, free: 2.922 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 8.895e-05/0.3928, allocations: 15.98 kB / 1.358 GB, free: 2.906 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.3929, allocations: 224 / 1.358 GB, free: 2.906 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.3932, allocations: 100.6 kB / 1.358 GB, free: 2.781 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.451e-05/0.3933, allocations: 63.28 kB / 1.358 GB, free: 2.699 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 1.632e-05/0.3933, allocations: 4 kB / 1.358 GB, free: 2.695 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.622e-05/0.3933, allocations: 11.38 kB / 1.358 GB, free: 2.684 MB / 1.042 GB Notification: Performance of SimCode: time 3.71e-07/0.3933, allocations: 0 / 1.358 GB, free: 2.684 MB / 1.042 GB Notification: Performance of Templates: time 0.003268/0.3966, allocations: 469.6 kB / 1.359 GB, free: 2.266 MB / 1.042 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.28851236216724]