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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4814/0.4814, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000966/0.000966, allocations: 106.2 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 55.92 kB / 0.4891 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3244, allocations: 70.05 MB / 0.5575 GB, free: 44.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002556/0.327, allocations: 1.316 MB / 0.5588 GB, free: 43.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3281, allocations: 0.6035 MB / 0.5594 GB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.3282, allocations: 1.219 kB / 0.5594 GB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.3282, allocations: 0 / 0.5594 GB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.297e-05/0.3283, allocations: 3.984 kB / 0.5594 GB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.3287, allocations: 118.2 kB / 0.5595 GB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.269e-05/0.3288, allocations: 11.94 kB / 0.5595 GB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.3288, allocations: 3.984 kB / 0.5595 GB, free: 43.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.127e-05/0.3289, allocations: 0 / 0.5595 GB, free: 43.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.019e-05/0.3289, allocations: 4 kB / 0.5595 GB, free: 43.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.3289, allocations: 0 / 0.5595 GB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.3293, allocations: 343.3 kB / 0.5598 GB, free: 42.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.3293, allocations: 11.94 kB / 0.5598 GB, free: 42.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.3294, allocations: 0 / 0.5598 GB, free: 42.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.3296, allocations: 149.3 kB / 0.56 GB, free: 42.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3296, allocations: 0 / 0.56 GB, free: 42.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.3296, allocations: 0 / 0.56 GB, free: 42.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.3296, allocations: 0 / 0.56 GB, free: 42.66 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.0003234/0.3299, allocations: 351.4 kB / 0.5603 GB, free: 42.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.33, allocations: 11.97 kB / 0.5603 GB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.33, allocations: 4.938 kB / 0.5603 GB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.364e-05/0.3301, allocations: 164.4 kB / 0.5605 GB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3301, allocations: 8.375 kB / 0.5605 GB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-06/0.3301, allocations: 384 / 0.5605 GB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.317e-05/0.3302, allocations: 42.17 kB / 0.5605 GB, free: 42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3302, allocations: 192 / 0.5605 GB, free: 42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3302, allocations: 3.938 kB / 0.5605 GB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3303, allocations: 0 / 0.5605 GB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.484e-05/0.3303, allocations: 4 kB / 0.5605 GB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.3304, allocations: 149.7 kB / 0.5607 GB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.834e-05/0.3305, allocations: 30.59 kB / 0.5607 GB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.3305, allocations: 12.92 kB / 0.5607 GB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3305, allocations: 0 / 0.5607 GB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.3305, allocations: 34.5 kB / 0.5608 GB, free: 41.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.3305, allocations: 0 / 0.5608 GB, free: 41.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001339/0.3307, allocations: 45.64 kB / 0.5608 GB, free: 41.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.3307, allocations: 55.39 kB / 0.5609 GB, free: 41.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.254e-05/0.3308, allocations: 93.98 kB / 0.5609 GB, free: 41.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.3308, allocations: 29.7 kB / 0.561 GB, free: 41.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.723e-05/0.3308, allocations: 80.14 kB / 0.5611 GB, free: 41.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.3308, allocations: 11.78 kB / 0.5611 GB, free: 41.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.3309, allocations: 17.72 kB / 0.5611 GB, free: 41.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.3309, allocations: 310.8 kB / 0.5614 GB, free: 41.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.3309, allocations: 3.984 kB / 0.5614 GB, free: 41.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-06/0.331, allocations: 8.125 kB / 0.5614 GB, free: 41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.536e-05/0.331, allocations: 16.8 kB / 0.5614 GB, free: 40.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.331, allocations: 0 / 0.5614 GB, free: 40.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.715e-05/0.331, allocations: 33.7 kB / 0.5614 GB, free: 40.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3311, allocations: 9.875 kB / 0.5614 GB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3311, allocations: 3.938 kB / 0.5615 GB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3311, allocations: 0 / 0.5615 GB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.3313, allocations: 15.98 kB / 0.5615 GB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002589/0.3315, allocations: 0.59 MB / 0.562 GB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.3316, allocations: 3.906 kB / 0.562 GB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.3316, allocations: 0 / 0.562 GB, free: 40.3 MB / 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 5.566e-05/0.3316, allocations: 117.8 kB / 0.5622 GB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-06/0.3316, allocations: 0 / 0.5622 GB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.076e-05/0.3317, allocations: 40.92 kB / 0.5622 GB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3317, allocations: 4.031 kB / 0.5622 GB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3318, allocations: 0 / 0.5622 GB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3318, allocations: 3.984 kB / 0.5622 GB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.648e-05/0.3318, allocations: 157.6 kB / 0.5624 GB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3318, allocations: 0 / 0.5624 GB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.3319, allocations: 15.92 kB / 0.5624 GB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3319, allocations: 0 / 0.5624 GB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.3319, allocations: 0 / 0.5624 GB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001735/0.3321, allocations: 0.5821 MB / 0.5629 GB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3321, allocations: 3.969 kB / 0.5629 GB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.3323, allocations: 0.6124 MB / 0.5635 GB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.3323, allocations: 88.95 kB / 0.5636 GB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.3323, allocations: 0 / 0.5636 GB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.397e-05/0.3324, allocations: 4.125 kB / 0.5636 GB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.3324, allocations: 0 / 0.5636 GB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.3324, allocations: 0 / 0.5636 GB, free: 38.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.951e-05/0.3324, allocations: 79.28 kB / 0.5637 GB, free: 38.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.3324, allocations: 0 / 0.5637 GB, free: 38.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003042/0.3327, allocations: 15.94 kB / 0.5637 GB, free: 38.42 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.0001267/0.3329, allocations: 107.2 kB / 0.5638 GB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.333, allocations: 28.02 kB / 0.5638 GB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.333, allocations: 0 / 0.5638 GB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/0.3331, allocations: 11.98 kB / 0.5639 GB, free: 38.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.3333, allocations: 11.94 kB / 0.5639 GB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.3336, allocations: 191.2 kB / 0.5641 GB, free: 38.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.753e-05/0.3337, allocations: 0.6811 MB / 0.5647 GB, free: 37.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.662e-05/0.3337, allocations: 0 / 0.5647 GB, free: 37.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-06/0.3338, allocations: 7.438 kB / 0.5647 GB, free: 37.31 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.3338, allocations: 0 / 0.5647 GB, free: 37.31 MB / 410.7 MB Notification: Performance of Templates: time 0.002097/0.3359, allocations: 448.2 kB / 0.5652 GB, free: 36.88 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)