Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001802/0.001802, allocations: 77.67 kB / 19 MB, free: 2.871 MB / 14.72 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.002197/0.002197, allocations: 156 kB / 22.25 MB, free: 5.145 MB / 14.72 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.502/1.502, allocations: 177.2 MB / 202.6 MB, free: 9.277 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002558/0.002558, allocations: 237.5 kB / 259.3 MB, free: 0.5898 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.066/1.066, allocations: 138.5 MB / 454.2 MB, free: 2.051 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003068/0.003068, allocations: 108.3 kB / 0.6466 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4328, allocations: 95.35 MB / 0.7397 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00257/0.4354, allocations: 1.268 MB / 0.741 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.4364, allocations: 0.528 MB / 0.7415 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.4364, allocations: 0 / 0.7415 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.4365, allocations: 0 / 0.7415 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.4365, allocations: 3.938 kB / 0.7415 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005355/0.437, allocations: 143.4 kB / 0.7416 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.601e-05/0.4371, allocations: 7.938 kB / 0.7416 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.4371, allocations: 8 kB / 0.7416 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.48e-05/0.4372, allocations: 3.984 kB / 0.7416 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.964e-05/0.4372, allocations: 15.92 kB / 0.7416 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.4372, allocations: 0 / 0.7416 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004403/0.4377, allocations: 259.5 kB / 0.7419 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.4377, allocations: 4 kB / 0.7419 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.4377, allocations: 0 / 0.7419 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.438, allocations: 144.7 kB / 0.742 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.438, allocations: 0 / 0.742 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.438, allocations: 0 / 0.742 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.438, allocations: 0 / 0.742 GB, free: 12.8 MB / 0.5762 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.0004628/0.4384, allocations: 278 kB / 0.7423 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4385, allocations: 9.344 kB / 0.7423 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.4385, allocations: 8.875 kB / 0.7423 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.4386, allocations: 106.5 kB / 0.7424 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-06/0.4386, allocations: 384 / 0.7424 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.4386, allocations: 384 / 0.7424 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.4388, allocations: 38.25 kB / 0.7425 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4388, allocations: 192 / 0.7425 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.4388, allocations: 3.938 kB / 0.7425 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4388, allocations: 0 / 0.7425 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.234e-05/0.4388, allocations: 11.94 kB / 0.7425 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.439, allocations: 101.3 kB / 0.7426 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.618e-05/0.439, allocations: 26.59 kB / 0.7426 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.4391, allocations: 8.922 kB / 0.7426 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.4391, allocations: 0 / 0.7426 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.4391, allocations: 30.56 kB / 0.7426 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.4391, allocations: 7.938 kB / 0.7426 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001582/0.4393, allocations: 49.58 kB / 0.7427 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.4393, allocations: 51.41 kB / 0.7427 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.4394, allocations: 93.84 kB / 0.7428 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.4394, allocations: 29.7 kB / 0.7429 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.4395, allocations: 80.14 kB / 0.7429 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.4395, allocations: 11.89 kB / 0.7429 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.4395, allocations: 13.72 kB / 0.743 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4397, allocations: 310.8 kB / 0.7433 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.321e-05/0.4397, allocations: 4.25 kB / 0.7433 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.204e-05/0.4397, allocations: 11.98 kB / 0.7433 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.202e-05/0.4398, allocations: 8.859 kB / 0.7433 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4398, allocations: 0 / 0.7433 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.519e-05/0.4399, allocations: 45.64 kB / 0.7433 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.4399, allocations: 4 kB / 0.7433 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4399, allocations: 0 / 0.7433 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.4399, allocations: 3.938 kB / 0.7433 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.4401, allocations: 11.98 kB / 0.7433 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004407/0.4405, allocations: 0.5822 MB / 0.7439 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.4405, allocations: 32 / 0.7439 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.4405, allocations: 4 kB / 0.7439 GB, free: 10.69 MB / 0.5762 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.849e-05/0.4406, allocations: 113.8 kB / 0.744 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-06/0.4406, allocations: 3.984 kB / 0.744 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.4407, allocations: 52.89 kB / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4407, allocations: 0 / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.4407, allocations: 0 / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4407, allocations: 4.125 kB / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.4409, allocations: 105.3 kB / 0.7442 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4409, allocations: 3.938 kB / 0.7442 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.313e-05/0.4409, allocations: 8 kB / 0.7442 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.4409, allocations: 3.984 kB / 0.7442 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.4409, allocations: 0 / 0.7442 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003863/0.4413, allocations: 0.5859 MB / 0.7448 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.4413, allocations: 3.984 kB / 0.7448 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.61e-05/0.4414, allocations: 69.11 kB / 0.7448 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-06/0.4414, allocations: 8.109 kB / 0.7448 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.4414, allocations: 3.938 kB / 0.7448 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.37e-05/0.4415, allocations: 4 kB / 0.7448 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.4415, allocations: 3.984 kB / 0.7449 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.4415, allocations: 0 / 0.7449 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.647e-05/0.4415, allocations: 83.28 kB / 0.7449 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4415, allocations: 0 / 0.7449 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001969/0.4417, allocations: 11.88 kB / 0.7449 GB, free: 9.535 MB / 0.5762 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.0001854/0.4419, allocations: 107.3 kB / 0.745 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.4421, allocations: 23.92 kB / 0.7451 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4421, allocations: 0 / 0.7451 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.247e-05/0.4422, allocations: 19.98 kB / 0.7451 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.4423, allocations: 0 / 0.7451 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.4427, allocations: 102.2 kB / 0.7452 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.16e-05/0.4427, allocations: 55.36 kB / 0.7452 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.693e-05/0.4427, allocations: 8.125 kB / 0.7452 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.4427, allocations: 8.5 kB / 0.7453 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.4427, allocations: 3.938 kB / 0.7453 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of Templates: time 0.002869/0.4456, allocations: 489.2 kB / 0.7457 GB, free: 8.719 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.16999576985836] Failed to read output from testmodel.py, exit status != 0: 0.45466780103743076 0.46797826 0.026987398000000003 Calling exit ...