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.001226/0.001226, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001406/0.001406, allocations: 173 kB / 23.36 MB, free: 1.133 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.072/1.072, allocations: 177.1 MB / 203.8 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.00176/0.00176, allocations: 238.3 kB / 260.5 MB, free: 12.72 MB / 250.7 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 0.6847/0.6847, allocations: 138.4 MB / 402.2 MB, free: 0.5625 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 462.3 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027e-05/1.17e-05, allocations: 4.375 kB / 462.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001725/0.001736, allocations: 1.304 MB / 463.6 MB, free: 92 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007095/0.002446, allocations: 0.5664 MB / 464.2 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.909e-05/0.002465, allocations: 0 / 464.2 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.002479, allocations: 3.781 kB / 464.2 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.998e-05/0.002519, allocations: 1.984 kB / 464.2 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.002962, allocations: 143.3 kB / 464.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.353e-05/0.003006, allocations: 9.594 kB / 464.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.00304, allocations: 7.125 kB / 464.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.799e-05/0.003068, allocations: 6.109 kB / 464.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.971e-05/0.003108, allocations: 2.609 kB / 464.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.003118, allocations: 0 / 464.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.003468, allocations: 269.3 kB / 464.6 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.00348, allocations: 0.6875 kB / 464.6 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.391e-05/0.003494, allocations: 8.438 kB / 464.6 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.003699, allocations: 152.5 kB / 464.8 MB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003701, allocations: 0.6094 kB / 464.8 MB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003702, allocations: 1 kB / 464.8 MB, free: 15.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.003705, allocations: 0 / 464.8 MB, free: 15.56 MB / 426.7 MB 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.0002385/0.003943, allocations: 256 kB / 465 MB, free: 15.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.00397, allocations: 9.406 kB / 465 MB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.958e-05/0.00399, allocations: 6.688 kB / 465 MB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.577e-05/0.004056, allocations: 109 kB / 465.1 MB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.004063, allocations: 1.375 kB / 465.1 MB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.00407, allocations: 4.047 kB / 465.1 MB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.806e-05/0.004118, allocations: 30.5 kB / 465.2 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.004124, allocations: 1.406 kB / 465.2 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-06/0.004129, allocations: 1.031 kB / 465.2 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.004133, allocations: 0.875 kB / 465.2 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.829e-06/0.004143, allocations: 7.453 kB / 465.2 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.883e-05/0.004212, allocations: 62.45 kB / 465.3 MB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.59e-05/0.004248, allocations: 25.52 kB / 465.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.748e-06/0.004257, allocations: 5.953 kB / 465.3 MB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.004269, allocations: 2.547 kB / 465.3 MB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.004287, allocations: 37.39 kB / 465.3 MB, free: 14.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 5.61e-07/0.004287, allocations: 0 / 465.3 MB, free: 14.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 6.678e-05/0.004354, allocations: 34.06 kB / 465.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.00438, allocations: 57.69 kB / 465.4 MB, free: 14.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.42e-05/0.004424, allocations: 99.62 kB / 465.5 MB, free: 14.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.004433, allocations: 30.86 kB / 465.5 MB, free: 14.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.805e-05/0.004451, allocations: 81.45 kB / 465.6 MB, free: 14.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.00447, allocations: 5.328 kB / 465.6 MB, free: 14.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/0.00449, allocations: 13.59 kB / 465.6 MB, free: 14.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.696e-05/0.004567, allocations: 322.4 kB / 465.9 MB, free: 14.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-06/0.004572, allocations: 1.219 kB / 466 MB, free: 14.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-06/0.004577, allocations: 2.25 kB / 466 MB, free: 14.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.806e-05/0.004595, allocations: 12.09 kB / 466 MB, free: 14.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004597, allocations: 0 / 466 MB, free: 14.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.567e-05/0.004633, allocations: 39.62 kB / 466 MB, free: 14.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.004641, allocations: 5.125 kB / 466 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.004644, allocations: 1.344 kB / 466 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.004652, allocations: 0.7969 kB / 466 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/0.004747, allocations: 12.81 kB / 466 MB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002192/0.004966, allocations: 0.5863 MB / 466.6 MB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.858e-06/0.004976, allocations: 1.625 kB / 466.6 MB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.004981, allocations: 2.375 kB / 466.6 MB, free: 13.69 MB / 426.7 MB 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.0004605/0.005441, allocations: 111.4 kB / 466.7 MB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-06/0.005446, allocations: 2.672 kB / 466.7 MB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.305e-05/0.005509, allocations: 45.89 kB / 466.8 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.005512, allocations: 6.875 kB / 466.8 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.005515, allocations: 1.375 kB / 466.8 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.005518, allocations: 2.375 kB / 466.8 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.781e-05/0.005566, allocations: 66.3 kB / 466.8 MB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.005566, allocations: 0 / 466.8 MB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.005611, allocations: 8.781 kB / 466.9 MB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.005613, allocations: 2.875 kB / 466.9 MB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-06/0.005617, allocations: 0 / 466.9 MB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000172/0.005789, allocations: 0.5805 MB / 467.4 MB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.005792, allocations: 5.344 kB / 467.4 MB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.068e-05/0.005833, allocations: 59.86 kB / 467.5 MB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.00584, allocations: 6.859 kB / 467.5 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-06/0.005847, allocations: 2.094 kB / 467.5 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-06/0.005853, allocations: 3.875 kB / 467.5 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-06/0.005863, allocations: 3.188 kB / 467.5 MB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-06/0.005864, allocations: 0 / 467.5 MB, free: 12.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.335e-06/0.005872, allocations: 7.875 kB / 467.5 MB, free: 12.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005872, allocations: 0 / 467.5 MB, free: 12.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001045/0.005977, allocations: 7.594 kB / 467.5 MB, free: 12.79 MB / 426.7 MB 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.0001036/0.006081, allocations: 95.59 kB / 467.6 MB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.037e-05/0.006171, allocations: 24.56 kB / 467.6 MB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.006173, allocations: 0.6562 kB / 467.6 MB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.409e-05/0.006207, allocations: 22.23 kB / 467.7 MB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.011e-05/0.006257, allocations: 3.656 kB / 467.7 MB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002023/0.006459, allocations: 106.7 kB / 467.8 MB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.284e-05/0.006482, allocations: 55.66 kB / 467.8 MB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.063e-05/0.006493, allocations: 0 / 467.8 MB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.006518, allocations: 50.56 kB / 467.9 MB, free: 12.46 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.006518, allocations: 1.219 kB / 467.9 MB, free: 12.46 MB / 426.7 MB Notification: Performance of Templates: time 0.001922/0.00844, allocations: 0.5411 MB / 468.4 MB, free: 12.4 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5585495000705123]