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.0007783/0.0007783, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001/0.001778, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007281/0.0007281, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00099/0.001718, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9738/0.9738, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08439/1.058, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001256/0.001256, allocations: 241.4 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009992/0.002256, allocations: 471.5 kB / 244.7 MB, free: 14.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7365/0.7365, allocations: 138.7 MB / 384.1 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07086/0.8073, allocations: 42.4 MB / 426.5 MB, free: 5.953 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.423e-06/1.423e-06, allocations: 0 / 427.8 MB, free: 4.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.296e-05, allocations: 2.312 kB / 427.8 MB, free: 4.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002634/0.002657, allocations: 1.344 MB / 429.1 MB, free: 3.281 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008294/0.003486, allocations: 0.5603 MB / 429.7 MB, free: 2.719 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/0.003506, allocations: 4 kB / 429.7 MB, free: 2.715 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.148e-06/0.003515, allocations: 3.938 kB / 429.7 MB, free: 2.711 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.553e-05/0.00354, allocations: 7.922 kB / 429.7 MB, free: 2.703 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.003919, allocations: 139.3 kB / 429.8 MB, free: 2.566 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.942e-05/0.003969, allocations: 7.938 kB / 429.8 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.004007, allocations: 3.938 kB / 429.8 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.069e-05/0.004058, allocations: 11.98 kB / 429.9 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.302e-05/0.004111, allocations: 0 / 429.9 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.004123, allocations: 0 / 429.9 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004249/0.004548, allocations: 283.3 kB / 430.1 MB, free: 2.266 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.004558, allocations: 0 / 430.1 MB, free: 2.266 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.434e-05/0.004573, allocations: 8 kB / 430.1 MB, free: 2.258 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.004804, allocations: 123.6 kB / 430.3 MB, free: 2.137 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.644e-05/0.00482, allocations: 0 / 430.3 MB, free: 2.137 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004821, allocations: 0 / 430.3 MB, free: 2.137 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.004837, allocations: 4 kB / 430.3 MB, free: 2.133 MB / 410.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.0003674/0.005205, allocations: 268.3 kB / 430.5 MB, free: 1.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.005238, allocations: 11.98 kB / 430.5 MB, free: 1.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.005264, allocations: 4.938 kB / 430.5 MB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.322e-05/0.005347, allocations: 101.8 kB / 430.6 MB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.00536, allocations: 4.375 kB / 430.7 MB, free: 1.699 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.005368, allocations: 12.36 kB / 430.7 MB, free: 1.688 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.26e-05/0.00543, allocations: 26.27 kB / 430.7 MB, free: 1.656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.005438, allocations: 192 / 430.7 MB, free: 1.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-06/0.005443, allocations: 384 / 430.7 MB, free: 1.656 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.00545, allocations: 4.375 kB / 430.7 MB, free: 1.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.839e-05/0.005468, allocations: 7.875 kB / 430.7 MB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.905e-05/0.005557, allocations: 61.03 kB / 430.8 MB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.314e-05/0.0056, allocations: 26.59 kB / 430.8 MB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.287e-05/0.005613, allocations: 4.859 kB / 430.8 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.005634, allocations: 4.062 kB / 430.8 MB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.005656, allocations: 34.56 kB / 430.8 MB, free: 1.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.005657, allocations: 0 / 430.8 MB, free: 1.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 9.098e-05/0.005748, allocations: 37.64 kB / 430.9 MB, free: 1.438 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.005781, allocations: 51.41 kB / 430.9 MB, free: 1.375 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/0.005838, allocations: 102.7 kB / 431 MB, free: 1.262 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.00585, allocations: 29.64 kB / 431 MB, free: 1.227 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.2e-05/0.005872, allocations: 80.14 kB / 431.1 MB, free: 1.145 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.005894, allocations: 3.953 kB / 431.1 MB, free: 1.141 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.005925, allocations: 25.7 kB / 431.2 MB, free: 1.109 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.006013, allocations: 319 kB / 431.5 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.006023, allocations: 4 kB / 431.5 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-06/0.006031, allocations: 3.984 kB / 431.5 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.006055, allocations: 12.8 kB / 431.5 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.006057, allocations: 0 / 431.5 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.01e-05/0.006107, allocations: 33.7 kB / 431.5 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.006118, allocations: 4 kB / 431.5 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.006123, allocations: 0 / 431.5 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.006132, allocations: 3.984 kB / 431.5 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.006263, allocations: 16.08 kB / 431.5 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002822/0.006545, allocations: 0.5859 MB / 432.1 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.616e-05/0.006561, allocations: 4 kB / 432.1 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.006565, allocations: 0 / 432.1 MB, free: 92 kB / 410.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.2427/0.2493, allocations: 110.4 kB / 432.2 MB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.2493, allocations: 1.656 kB / 432.2 MB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.2494, allocations: 35.83 kB / 432.3 MB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2494, allocations: 3.75 kB / 432.3 MB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.2494, allocations: 1.859 kB / 432.3 MB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2494, allocations: 1.062 kB / 432.3 MB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.213e-05/0.2495, allocations: 65.45 kB / 432.3 MB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2495, allocations: 2.047 kB / 432.3 MB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.976e-05/0.2495, allocations: 9.062 kB / 432.4 MB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-06/0.2495, allocations: 5.594 kB / 432.4 MB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2495, allocations: 1.906 kB / 432.4 MB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.2496, allocations: 2.031 kB / 432.4 MB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001218/0.2497, allocations: 0.5837 MB / 433 MB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2497, allocations: 0.7031 kB / 433 MB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.419e-05/0.2497, allocations: 64.56 kB / 433 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-06/0.2497, allocations: 1.375 kB / 433 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-06/0.2497, allocations: 3 kB / 433 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.05e-05/0.2497, allocations: 4.266 kB / 433 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/0.2497, allocations: 0 / 433 MB, free: 1.715 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.678e-06/0.2497, allocations: 10.56 kB / 433 MB, free: 1.707 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2497, allocations: 0.6562 kB / 433 MB, free: 1.707 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001282/0.2499, allocations: 20.41 kB / 433.1 MB, free: 1.707 MB / 410.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.000126/0.25, allocations: 108.5 kB / 433.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.924e-05/0.2501, allocations: 17.39 kB / 433.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2501, allocations: 2.781 kB / 433.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.2501, allocations: 14.48 kB / 433.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.908e-05/0.2502, allocations: 5.031 kB / 433.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.2506, allocations: 107.5 kB / 433.3 MB, free: 1.531 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.475e-05/0.2506, allocations: 57.88 kB / 433.4 MB, free: 1.461 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.626e-05/0.2506, allocations: 1.656 kB / 433.4 MB, free: 1.461 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.2506, allocations: 49.62 kB / 433.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2506, allocations: 0 / 433.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of Templates: time 0.001882/0.2525, allocations: 0.5112 MB / 433.9 MB, free: 1.418 MB / 410.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.339622674509883]