Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.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.001115/0.001115, allocations: 81.16 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001734/0.002849, allocations: 451.9 kB / 10.45 MB, free: 244 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.002972/0.002972, allocations: 157.2 kB / 11.35 MB, free: 2.824 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00415/0.007123, allocations: 483.5 kB / 11.82 MB, free: 2.348 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.9128/0.9128, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08753/1, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6031/0.6031, allocations: 120.3 MB / 364.5 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06204/0.6652, allocations: 38.23 MB / 402.7 MB, free: 11.97 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 404.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.235e-05, allocations: 2.312 kB / 404.1 MB, free: 10.58 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.001869/0.001881, allocations: 1.396 MB / 405.5 MB, free: 9.176 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006877/0.002569, allocations: 0.5688 MB / 406.1 MB, free: 8.605 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.717e-05/0.002586, allocations: 0 / 406.1 MB, free: 8.605 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 8.195e-06/0.002594, allocations: 7.938 kB / 406.1 MB, free: 8.598 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.045e-05/0.002614, allocations: 3.938 kB / 406.1 MB, free: 8.594 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.002939, allocations: 139.3 kB / 406.2 MB, free: 8.457 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.95e-05/0.002989, allocations: 15.94 kB / 406.2 MB, free: 8.441 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.44e-05/0.003023, allocations: 0 / 406.2 MB, free: 8.441 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.003068, allocations: 11.98 kB / 406.2 MB, free: 8.43 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.561e-05/0.003114, allocations: 7.938 kB / 406.2 MB, free: 8.422 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.003123, allocations: 0 / 406.2 MB, free: 8.422 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006471/0.009594, allocations: 331.2 kB / 406.6 MB, free: 8.098 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.009609, allocations: 4 kB / 406.6 MB, free: 8.094 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.265e-05/0.009622, allocations: 0 / 406.6 MB, free: 8.094 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.00983, allocations: 131.6 kB / 406.7 MB, free: 7.965 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/0.009844, allocations: 4 kB / 406.7 MB, free: 7.961 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.009845, allocations: 0 / 406.7 MB, free: 7.961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.009854, allocations: 0 / 406.7 MB, free: 7.961 MB / 394.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.0003394/0.01019, allocations: 260.3 kB / 407 MB, free: 7.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.01023, allocations: 12.03 kB / 407 MB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.01026, allocations: 0.9375 kB / 407 MB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.946e-05/0.01033, allocations: 113.7 kB / 407.1 MB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.01034, allocations: 4.375 kB / 407.1 MB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.01035, allocations: 384 / 407.1 MB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.737e-05/0.01042, allocations: 34.27 kB / 407.1 MB, free: 7.492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.01043, allocations: 3.938 kB / 407.1 MB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-06/0.01043, allocations: 0 / 407.1 MB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.01044, allocations: 0 / 407.1 MB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.348e-06/0.01045, allocations: 0 / 407.1 MB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.73e-05/0.01053, allocations: 61.03 kB / 407.2 MB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.026e-05/0.01057, allocations: 26.53 kB / 407.2 MB, free: 7.379 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.01059, allocations: 16.92 kB / 407.2 MB, free: 7.359 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.01061, allocations: 0 / 407.2 MB, free: 7.359 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.01063, allocations: 30.56 kB / 407.3 MB, free: 7.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 2.905e-06/0.01063, allocations: 3.984 kB / 407.3 MB, free: 7.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 8.845e-05/0.01072, allocations: 33.7 kB / 407.3 MB, free: 7.277 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.01076, allocations: 63.28 kB / 407.4 MB, free: 7.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.38e-05/0.01081, allocations: 102.7 kB / 407.5 MB, free: 7.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.01082, allocations: 25.7 kB / 407.5 MB, free: 7.059 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.371e-05/0.01084, allocations: 84.39 kB / 407.6 MB, free: 6.973 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.01086, allocations: 7.953 kB / 407.6 MB, free: 6.965 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.01089, allocations: 13.7 kB / 407.6 MB, free: 6.945 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.484e-05/0.01097, allocations: 314.8 kB / 407.9 MB, free: 6.629 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-06/0.01098, allocations: 3.938 kB / 407.9 MB, free: 6.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-06/0.01099, allocations: 11.98 kB / 407.9 MB, free: 6.613 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.946e-05/0.01101, allocations: 8.859 kB / 407.9 MB, free: 6.602 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01101, allocations: 0 / 407.9 MB, free: 6.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.293e-05/0.01105, allocations: 29.7 kB / 407.9 MB, free: 6.566 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.01106, allocations: 11.94 kB / 408 MB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01107, allocations: 8.078 kB / 408 MB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/0.01108, allocations: 0 / 408 MB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.01119, allocations: 4 kB / 408 MB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002421/0.01144, allocations: 0.5859 MB / 408.5 MB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.01145, allocations: 0 / 408.5 MB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.01145, allocations: 4 kB / 408.6 MB, free: 5.93 MB / 394.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 4.925e-05/0.0115, allocations: 109.8 kB / 408.7 MB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-06/0.01151, allocations: 3.938 kB / 408.7 MB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.008e-05/0.01158, allocations: 53 kB / 408.7 MB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.01158, allocations: 0 / 408.7 MB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-06/0.01158, allocations: 0 / 408.7 MB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.01158, allocations: 0 / 408.7 MB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.243e-05/0.01164, allocations: 65.89 kB / 408.8 MB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01164, allocations: 0 / 408.8 MB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.01168, allocations: 11.98 kB / 408.8 MB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.01169, allocations: 3.938 kB / 408.8 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.01169, allocations: 3.938 kB / 408.8 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-06/0.0117, allocations: 0 / 408.8 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001899/0.01189, allocations: 0.5822 MB / 409.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.01189, allocations: 0 / 409.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.36e-05/0.01193, allocations: 65 kB / 409.4 MB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-06/0.01194, allocations: 4 kB / 409.4 MB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-06/0.01195, allocations: 0 / 409.4 MB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003013/0.01496, allocations: 0 / 409.4 MB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.01496, allocations: 0 / 409.4 MB, free: 4.961 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.252e-05/0.01498, allocations: 12.84 kB / 409.5 MB, free: 4.945 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01498, allocations: 0 / 409.5 MB, free: 4.945 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001625/0.01514, allocations: 24.12 kB / 409.5 MB, free: 4.922 MB / 394.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.0001496/0.01529, allocations: 116.2 kB / 409.6 MB, free: 4.801 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.0154, allocations: 11.98 kB / 409.6 MB, free: 4.789 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.0154, allocations: 7.938 kB / 409.6 MB, free: 4.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.07e-05/0.01543, allocations: 4 kB / 409.6 MB, free: 4.777 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.951e-05/0.01549, allocations: 7.938 kB / 409.6 MB, free: 4.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.0159, allocations: 116.9 kB / 409.7 MB, free: 4.629 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.223e-05/0.01593, allocations: 55.36 kB / 409.8 MB, free: 4.555 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.725e-05/0.01595, allocations: 0 / 409.8 MB, free: 4.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.01597, allocations: 47.38 kB / 409.8 MB, free: 4.508 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01597, allocations: 0 / 409.8 MB, free: 4.508 MB / 394.7 MB Notification: Performance of Templates: time 0.003078/0.01905, allocations: 0.6341 MB / 410.5 MB, free: 3.875 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1715671718120575]