Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00102/0.00102, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00141/0.00243, allocations: 452 kB / 10.43 MB, free: 268 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.0007145/0.0007145, allocations: 161.1 kB / 11.34 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009326/0.001647, allocations: 483.5 kB / 11.81 MB, free: 2.363 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.9123/0.9123, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08414/0.9964, 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.5901/0.5901, allocations: 120.1 MB / 364.2 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06539/0.6555, allocations: 38.16 MB / 402.4 MB, free: 12.27 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 403.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.157e-05, allocations: 6.312 kB / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002753/0.002775, allocations: 1.389 MB / 405.2 MB, free: 9.492 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008414/0.003616, allocations: 0.5642 MB / 405.7 MB, free: 8.926 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.003637, allocations: 0 / 405.7 MB, free: 8.926 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 9.888e-06/0.003646, allocations: 0 / 405.7 MB, free: 8.926 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.957e-05/0.003676, allocations: 11.94 kB / 405.7 MB, free: 8.914 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.004097, allocations: 139.3 kB / 405.9 MB, free: 8.777 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.723e-05/0.004155, allocations: 11.92 kB / 405.9 MB, free: 8.766 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.004199, allocations: 8 kB / 405.9 MB, free: 8.758 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.94e-05/0.004249, allocations: 4 kB / 405.9 MB, free: 8.754 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.257e-05/0.004301, allocations: 3.984 kB / 405.9 MB, free: 8.75 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.004312, allocations: 0 / 405.9 MB, free: 8.75 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.004741, allocations: 259.4 kB / 406.1 MB, free: 8.496 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.004757, allocations: 8 kB / 406.2 MB, free: 8.488 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.004772, allocations: 3.938 kB / 406.2 MB, free: 8.484 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.005033, allocations: 123.6 kB / 406.3 MB, free: 8.363 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/0.005044, allocations: 0 / 406.3 MB, free: 8.363 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.005045, allocations: 4 kB / 406.3 MB, free: 8.359 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.005058, allocations: 0 / 406.3 MB, free: 8.359 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.0003704/0.005428, allocations: 268.2 kB / 406.5 MB, free: 8.074 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.005469, allocations: 8.031 kB / 406.6 MB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.005499, allocations: 4.938 kB / 406.6 MB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.175e-05/0.005591, allocations: 105.8 kB / 406.7 MB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.005603, allocations: 4.375 kB / 406.7 MB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.005613, allocations: 4.375 kB / 406.7 MB, free: 7.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.187e-05/0.005685, allocations: 30.27 kB / 406.7 MB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.005695, allocations: 11.92 kB / 406.7 MB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.005701, allocations: 3.938 kB / 406.7 MB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.005706, allocations: 0 / 406.7 MB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.187e-05/0.005718, allocations: 3.938 kB / 406.7 MB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.354e-05/0.005812, allocations: 57.05 kB / 406.8 MB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.832e-05/0.00586, allocations: 22.59 kB / 406.8 MB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.005876, allocations: 12.92 kB / 406.8 MB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.005893, allocations: 4 kB / 406.8 MB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.005917, allocations: 30.56 kB / 406.8 MB, free: 7.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.005918, allocations: 0 / 406.8 MB, free: 7.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 9.996e-05/0.006018, allocations: 41.64 kB / 406.9 MB, free: 7.664 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.006049, allocations: 55.34 kB / 406.9 MB, free: 7.598 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.393e-05/0.006113, allocations: 106.7 kB / 407 MB, free: 7.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.006125, allocations: 25.7 kB / 407.1 MB, free: 7.449 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.325e-05/0.006148, allocations: 80.14 kB / 407.1 MB, free: 7.367 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.006177, allocations: 7.953 kB / 407.2 MB, free: 7.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.006203, allocations: 13.97 kB / 407.2 MB, free: 7.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.091e-05/0.006294, allocations: 314.8 kB / 407.5 MB, free: 7.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.006302, allocations: 3.984 kB / 407.5 MB, free: 7.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-06/0.006309, allocations: 0 / 407.5 MB, free: 7.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.481e-05/0.006334, allocations: 12.84 kB / 407.5 MB, free: 7.004 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.006337, allocations: 0 / 407.5 MB, free: 7.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.082e-05/0.006398, allocations: 41.64 kB / 407.5 MB, free: 6.957 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.006412, allocations: 7.984 kB / 407.5 MB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.006416, allocations: 0 / 407.5 MB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.006428, allocations: 4.094 kB / 407.5 MB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.006565, allocations: 8 kB / 407.6 MB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002397/0.006805, allocations: 0.582 MB / 408.1 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.006816, allocations: 0 / 408.1 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.006822, allocations: 3.984 kB / 408.1 MB, free: 6.328 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 5.047e-05/0.006872, allocations: 113.8 kB / 408.2 MB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-06/0.006877, allocations: 3.938 kB / 408.3 MB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/0.006949, allocations: 45 kB / 408.3 MB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.00695, allocations: 4.094 kB / 408.3 MB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-07/0.006951, allocations: 0 / 408.3 MB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006954, allocations: 0 / 408.3 MB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.957e-05/0.007003, allocations: 61.91 kB / 408.4 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007005, allocations: 3.938 kB / 408.4 MB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.646e-05/0.007051, allocations: 11.98 kB / 408.4 MB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-06/0.007056, allocations: 4 kB / 408.4 MB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.00706, allocations: 3.938 kB / 408.4 MB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-06/0.007063, allocations: 0 / 408.4 MB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001748/0.007238, allocations: 0.5899 MB / 409 MB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007239, allocations: 0 / 409 MB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.856e-05/0.007287, allocations: 61.06 kB / 409 MB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-06/0.007294, allocations: 0 / 409 MB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-06/0.0073, allocations: 0 / 409 MB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-06/0.007309, allocations: 4 kB / 409 MB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.007312, allocations: 0 / 409 MB, free: 5.355 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.059e-05/0.007322, allocations: 8.844 kB / 409 MB, free: 5.344 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007322, allocations: 0 / 409 MB, free: 5.344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001231/0.007445, allocations: 23.88 kB / 409.1 MB, free: 5.32 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.0001638/0.007609, allocations: 124.4 kB / 409.2 MB, free: 5.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.881e-05/0.007688, allocations: 16.84 kB / 409.2 MB, free: 5.172 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.007691, allocations: 0 / 409.2 MB, free: 5.172 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.007714, allocations: 12.86 kB / 409.2 MB, free: 5.156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.722e-05/0.007781, allocations: 11.92 kB / 409.2 MB, free: 5.145 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.0082, allocations: 112.9 kB / 409.3 MB, free: 5.008 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.534e-05/0.008225, allocations: 55.3 kB / 409.4 MB, free: 4.934 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.938e-05/0.008255, allocations: 4 kB / 409.4 MB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.008289, allocations: 47.38 kB / 409.4 MB, free: 4.883 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008289, allocations: 0 / 409.4 MB, free: 4.883 MB / 394.7 MB Notification: Performance of Templates: time 0.001899/0.01019, allocations: 0.626 MB / 410.1 MB, free: 4.258 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0925758881494403]