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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 121.3 kB / 17.81 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 189.4 kB / 20.74 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] 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.8468/0.8468, allocations: 128.4 MB / 432.4 MB, free: 13.18 MB / 350.1 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.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=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 0.001917/0.001917, allocations: 59.91 kB / 0.5987 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3393, allocations: 83.27 MB / 0.68 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001945/0.3412, allocations: 1.251 MB / 0.6813 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000757/0.342, allocations: 0.5875 MB / 0.6818 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.342, allocations: 4 kB / 0.6818 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.304e-05/0.342, allocations: 0 / 0.6818 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.188e-05/0.342, allocations: 5.312 kB / 0.6818 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.3425, allocations: 134.6 kB / 0.682 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.376e-05/0.3425, allocations: 13.09 kB / 0.682 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.3425, allocations: 1.062 kB / 0.682 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.721e-05/0.3426, allocations: 9.984 kB / 0.682 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.586e-05/0.3426, allocations: 5.875 kB / 0.682 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.3426, allocations: 5.188 kB / 0.682 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004418/0.3431, allocations: 344.9 kB / 0.6823 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.3431, allocations: 0 / 0.6823 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.744e-05/0.3431, allocations: 2.594 kB / 0.6823 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.3433, allocations: 137.3 kB / 0.6825 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3433, allocations: 0 / 0.6825 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3433, allocations: 0 / 0.6825 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.3433, allocations: 1.312 kB / 0.6825 GB, free: 5.207 MB / 0.4981 GB 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.0003094/0.3436, allocations: 351.6 kB / 0.6828 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.3437, allocations: 12.81 kB / 0.6828 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.3437, allocations: 0.9375 kB / 0.6828 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.597e-05/0.3438, allocations: 169.5 kB / 0.683 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.3438, allocations: 1.625 kB / 0.683 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.3438, allocations: 1.5 kB / 0.683 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.459e-05/0.3438, allocations: 32.36 kB / 0.683 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3439, allocations: 3.938 kB / 0.683 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3439, allocations: 5.344 kB / 0.683 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.3439, allocations: 0 / 0.683 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.242e-05/0.3439, allocations: 2.844 kB / 0.683 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.344, allocations: 152.5 kB / 0.6832 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.411e-05/0.344, allocations: 24.27 kB / 0.6832 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/0.3441, allocations: 6.078 kB / 0.6832 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.3441, allocations: 9.109 kB / 0.6832 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.118e-05/0.3441, allocations: 39.92 kB / 0.6832 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.3441, allocations: 0 / 0.6832 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001173/0.3442, allocations: 46.05 kB / 0.6833 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.643e-05/0.3442, allocations: 52.81 kB / 0.6833 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.135e-05/0.3443, allocations: 96.27 kB / 0.6834 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-06/0.3443, allocations: 25.7 kB / 0.6834 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.251e-05/0.3443, allocations: 85.66 kB / 0.6835 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.3443, allocations: 5.078 kB / 0.6835 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.3443, allocations: 11.28 kB / 0.6835 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.396e-05/0.3443, allocations: 320.4 kB / 0.6838 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.3444, allocations: 1.375 kB / 0.6838 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-06/0.3444, allocations: 2.656 kB / 0.6839 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.371e-05/0.3444, allocations: 14.33 kB / 0.6839 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3444, allocations: 0 / 0.6839 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.217e-05/0.3444, allocations: 45.84 kB / 0.6839 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.3445, allocations: 5.875 kB / 0.6839 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.3445, allocations: 3.938 kB / 0.6839 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3445, allocations: 4.094 kB / 0.6839 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.3446, allocations: 12.08 kB / 0.6839 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000209/0.3448, allocations: 0.5823 MB / 0.6845 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.3448, allocations: 5.062 kB / 0.6845 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.3448, allocations: 0 / 0.6845 GB, free: 2.965 MB / 0.4981 GB 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.087e-05/0.3449, allocations: 120.2 kB / 0.6846 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-06/0.3449, allocations: 5.078 kB / 0.6846 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.427e-05/0.345, allocations: 44.38 kB / 0.6847 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.345, allocations: 1.094 kB / 0.6847 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.345, allocations: 4 kB / 0.6847 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.345, allocations: 1.125 kB / 0.6847 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.051e-05/0.345, allocations: 151.7 kB / 0.6848 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.345, allocations: 1.094 kB / 0.6848 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-05/0.3451, allocations: 7.5 kB / 0.6848 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3451, allocations: 0 / 0.6848 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.3451, allocations: 9.141 kB / 0.6848 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001533/0.3453, allocations: 0.5856 MB / 0.6854 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3453, allocations: 1.031 kB / 0.6854 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.976e-05/0.3453, allocations: 62.77 kB / 0.6855 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.3453, allocations: 89.16 kB / 0.6856 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-06/0.3453, allocations: 5.031 kB / 0.6856 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.499e-05/0.3454, allocations: 5.328 kB / 0.6856 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.3454, allocations: 3.938 kB / 0.6856 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3454, allocations: 1.094 kB / 0.6856 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.568e-05/0.3454, allocations: 77.34 kB / 0.6856 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.3454, allocations: 0 / 0.6856 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001874/0.3456, allocations: 8.094 kB / 0.6857 GB, free: 1.73 MB / 0.4981 GB 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.0001149/0.3457, allocations: 113.2 kB / 0.6858 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.3459, allocations: 21.52 kB / 0.6858 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3459, allocations: 0 / 0.6858 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.638e-05/0.3459, allocations: 13.67 kB / 0.6858 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.3461, allocations: 3.562 kB / 0.6858 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.3463, allocations: 142.1 kB / 0.6859 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.368e-05/0.3464, allocations: 0.6719 MB / 0.6866 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.131e-05/0.3464, allocations: 8.438 kB / 0.6866 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.3464, allocations: 0 / 0.6866 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of Templates: time 0.002249/0.3487, allocations: 0.705 MB / 0.6873 GB, free: 420 kB / 0.4981 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.744840482017025] Failed to read output from testmodel.py, exit status != 0: 0.355624726973474 0.36730460000000004 0.021440071 Calling exit ...