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.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000855/0.000855, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001333, allocations: 181.5 kB / 16.92 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7281/0.7281, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 8.656 kB / 0.4933 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.44, allocations: 79.28 MB / 0.5707 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001533/0.4416, allocations: 0.9693 MB / 0.5717 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.4426, allocations: 0.5866 MB / 0.5723 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.305e-05/0.4427, allocations: 5.406 kB / 0.5723 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.4427, allocations: 0.5625 kB / 0.5723 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.676e-05/0.4427, allocations: 0.5625 kB / 0.5723 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.4431, allocations: 121.7 kB / 0.5724 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.818e-05/0.4432, allocations: 10.39 kB / 0.5724 GB, free: 9.711 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.4432, allocations: 5.5 kB / 0.5724 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.978e-05/0.4433, allocations: 8.203 kB / 0.5724 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.983e-05/0.4433, allocations: 3.5 kB / 0.5724 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.4433, allocations: 0.8438 kB / 0.5724 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005303/0.4439, allocations: 347.4 kB / 0.5727 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-06/0.4439, allocations: 0.75 kB / 0.5727 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.4439, allocations: 32.22 kB / 0.5728 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.4442, allocations: 145.8 kB / 0.5729 GB, free: 9.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4442, allocations: 0.8438 kB / 0.5729 GB, free: 9.535 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4442, allocations: 0 / 0.5729 GB, free: 9.535 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.4442, allocations: 0.8438 kB / 0.5729 GB, free: 9.535 MB / 430.1 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.0002932/0.4445, allocations: 342.2 kB / 0.5732 GB, free: 9.164 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.4445, allocations: 13 kB / 0.5733 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.4446, allocations: 3.219 kB / 0.5733 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.762e-05/0.4447, allocations: 166.4 kB / 0.5734 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.4447, allocations: 6.062 kB / 0.5734 GB, free: 8.957 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.4447, allocations: 4.359 kB / 0.5734 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.964e-05/0.4448, allocations: 35.44 kB / 0.5735 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4448, allocations: 192 / 0.5735 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.4448, allocations: 5.562 kB / 0.5735 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4448, allocations: 0 / 0.5735 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.439e-05/0.4448, allocations: 8.219 kB / 0.5735 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.445, allocations: 151.2 kB / 0.5736 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.286e-05/0.445, allocations: 25.36 kB / 0.5736 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.445, allocations: 12.36 kB / 0.5737 GB, free: 8.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.4451, allocations: 0.75 kB / 0.5737 GB, free: 8.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.141e-05/0.4451, allocations: 31.31 kB / 0.5737 GB, free: 8.641 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.4451, allocations: 0 / 0.5737 GB, free: 8.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001213/0.4452, allocations: 45.14 kB / 0.5737 GB, free: 8.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.4452, allocations: 52.98 kB / 0.5738 GB, free: 8.539 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.745e-05/0.4453, allocations: 101.4 kB / 0.5739 GB, free: 8.434 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.151e-06/0.4453, allocations: 25.7 kB / 0.5739 GB, free: 8.402 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.468e-05/0.4453, allocations: 81.83 kB / 0.574 GB, free: 8.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.4454, allocations: 9.375 kB / 0.574 GB, free: 8.312 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.4454, allocations: 10.66 kB / 0.574 GB, free: 8.297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.4454, allocations: 316.1 kB / 0.5743 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.4454, allocations: 3.141 kB / 0.5743 GB, free: 7.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.774e-06/0.4455, allocations: 2.625 kB / 0.5743 GB, free: 7.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.791e-05/0.4455, allocations: 17.8 kB / 0.5743 GB, free: 7.965 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4455, allocations: 0.9688 kB / 0.5743 GB, free: 7.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.462e-05/0.4456, allocations: 39.98 kB / 0.5744 GB, free: 7.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4456, allocations: 5.844 kB / 0.5744 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4456, allocations: 3.938 kB / 0.5744 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4456, allocations: 0.7812 kB / 0.5744 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.4458, allocations: 10.47 kB / 0.5744 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002305/0.446, allocations: 0.5846 MB / 0.5749 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.446, allocations: 0 / 0.5749 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.446, allocations: 4.844 kB / 0.575 GB, free: 7.332 MB / 430.1 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.77e-05/0.4461, allocations: 116.2 kB / 0.5751 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.4461, allocations: 1.578 kB / 0.5751 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.271e-05/0.4462, allocations: 48.45 kB / 0.5751 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4462, allocations: 4.969 kB / 0.5751 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4462, allocations: 0 / 0.5751 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.4462, allocations: 1.5 kB / 0.5751 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.068e-05/0.4463, allocations: 159.3 kB / 0.5753 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4463, allocations: 0.7812 kB / 0.5753 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.395e-05/0.4464, allocations: 10.41 kB / 0.5753 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4464, allocations: 0.5156 kB / 0.5753 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.4464, allocations: 1.062 kB / 0.5753 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001681/0.4466, allocations: 0.5909 MB / 0.5759 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4466, allocations: 8.969 kB / 0.5759 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.312e-05/0.4466, allocations: 60.95 kB / 0.5759 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.4467, allocations: 78.89 kB / 0.576 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.4467, allocations: 1.156 kB / 0.576 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.4467, allocations: 0.7031 kB / 0.576 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.4467, allocations: 9.391 kB / 0.576 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.4467, allocations: 1.438 kB / 0.576 GB, free: 6.195 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.657e-05/0.4467, allocations: 77.62 kB / 0.5761 GB, free: 6.121 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4467, allocations: 0 / 0.5761 GB, free: 6.121 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001888/0.4469, allocations: 11.94 kB / 0.5761 GB, free: 6.117 MB / 430.1 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.0001294/0.4471, allocations: 106.1 kB / 0.5762 GB, free: 6.027 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.4472, allocations: 23.67 kB / 0.5762 GB, free: 6.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4472, allocations: 4.062 kB / 0.5762 GB, free: 6.016 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.4473, allocations: 14.64 kB / 0.5762 GB, free: 6.016 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.4475, allocations: 1.891 kB / 0.5762 GB, free: 6.016 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.4478, allocations: 112.2 kB / 0.5763 GB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.451e-05/0.4479, allocations: 0.6741 MB / 0.577 GB, free: 5.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.592e-05/0.4479, allocations: 4.672 kB / 0.577 GB, free: 5.207 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.099e-05/0.4479, allocations: 8.531 kB / 0.577 GB, free: 5.199 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4479, allocations: 0 / 0.577 GB, free: 5.199 MB / 430.1 MB Notification: Performance of Templates: time 0.002407/0.4503, allocations: 439.3 kB / 0.5774 GB, free: 5.133 MB / 430.1 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)