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.001616/0.001616, allocations: 113.5 kB / 19.7 MB, free: 2.203 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.001827/0.001827, allocations: 194 kB / 22.98 MB, free: 5.082 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.458/1.458, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.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 1.06/1.06, allocations: 149.6 MB / 456.6 MB, free: 1.164 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.002012/0.002012, allocations: 67.61 kB / 0.6329 GB, free: 8.941 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2023, allocations: 87.87 MB / 0.7187 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002634/0.2049, allocations: 1.253 MB / 0.7199 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2061, allocations: 0.5955 MB / 0.7205 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.2061, allocations: 0 / 0.7205 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.2061, allocations: 3.938 kB / 0.7205 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.2062, allocations: 4 kB / 0.7205 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005717/0.2068, allocations: 135.4 kB / 0.7206 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.565e-05/0.2068, allocations: 11.94 kB / 0.7206 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.737e-05/0.2069, allocations: 0 / 0.7206 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.288e-05/0.2069, allocations: 7.938 kB / 0.7206 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.207, allocations: 0 / 0.7206 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.207, allocations: 0 / 0.7206 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005901/0.2076, allocations: 347.4 kB / 0.721 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.2076, allocations: 0 / 0.721 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.2076, allocations: 3.938 kB / 0.721 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.2079, allocations: 147.6 kB / 0.7211 GB, free: 14.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2079, allocations: 0 / 0.7211 GB, free: 14.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2079, allocations: 0 / 0.7211 GB, free: 14.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.2079, allocations: 0 / 0.7211 GB, free: 14.48 MB / 0.545 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.0004951/0.2084, allocations: 278 kB / 0.7214 GB, free: 14.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2085, allocations: 12.03 kB / 0.7214 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.2085, allocations: 4.922 kB / 0.7214 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.2086, allocations: 110.4 kB / 0.7215 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2086, allocations: 384 / 0.7215 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.2086, allocations: 8.375 kB / 0.7215 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.2087, allocations: 37.58 kB / 0.7215 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2088, allocations: 4 kB / 0.7215 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2088, allocations: 0 / 0.7215 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2088, allocations: 0 / 0.7215 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.821e-05/0.2088, allocations: 4 kB / 0.7215 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.209, allocations: 120.8 kB / 0.7217 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.703e-05/0.2091, allocations: 30.55 kB / 0.7217 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.2091, allocations: 4.859 kB / 0.7217 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.2091, allocations: 11.92 kB / 0.7217 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.2091, allocations: 34.62 kB / 0.7217 GB, free: 13.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2091, allocations: 3.938 kB / 0.7217 GB, free: 13.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001548/0.2093, allocations: 33.7 kB / 0.7218 GB, free: 13.67 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.2094, allocations: 51.41 kB / 0.7218 GB, free: 13.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.15e-05/0.2094, allocations: 105.9 kB / 0.7219 GB, free: 13.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.2095, allocations: 29.69 kB / 0.7219 GB, free: 13.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.2095, allocations: 80.14 kB / 0.722 GB, free: 13.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.2095, allocations: 3.953 kB / 0.722 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.2096, allocations: 17.72 kB / 0.722 GB, free: 13.35 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2097, allocations: 310.8 kB / 0.7223 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.2097, allocations: 4 kB / 0.7223 GB, free: 13.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-06/0.2098, allocations: 0 / 0.7223 GB, free: 13.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.307e-05/0.2098, allocations: 21.03 kB / 0.7224 GB, free: 13.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2098, allocations: 0 / 0.7224 GB, free: 13.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.219e-05/0.2099, allocations: 41.64 kB / 0.7224 GB, free: 12.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2099, allocations: 4 kB / 0.7224 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2099, allocations: 0 / 0.7224 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2099, allocations: 0 / 0.7224 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.2101, allocations: 19.92 kB / 0.7224 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004518/0.2105, allocations: 0.5822 MB / 0.723 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.2105, allocations: 7.938 kB / 0.723 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.2105, allocations: 4.031 kB / 0.723 GB, free: 12.32 MB / 0.545 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 0.000103/0.2106, allocations: 109.8 kB / 0.7231 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.2107, allocations: 3.984 kB / 0.7231 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.2108, allocations: 48.94 kB / 0.7232 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.2108, allocations: 4.125 kB / 0.7232 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2108, allocations: 0 / 0.7232 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2108, allocations: 7.938 kB / 0.7232 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.2109, allocations: 128.6 kB / 0.7233 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2109, allocations: 4 kB / 0.7233 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.249e-05/0.211, allocations: 4 kB / 0.7233 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.211, allocations: 7.984 kB / 0.7233 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.211, allocations: 0 / 0.7233 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004047/0.2114, allocations: 0.586 MB / 0.7239 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2114, allocations: 0 / 0.7239 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.237e-05/0.2115, allocations: 61.11 kB / 0.7239 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.2115, allocations: 7.984 kB / 0.7239 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.2115, allocations: 3.938 kB / 0.724 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.428e-05/0.2115, allocations: 0 / 0.724 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.2116, allocations: 0 / 0.724 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.2116, allocations: 4.125 kB / 0.724 GB, free: 11.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.097e-05/0.2116, allocations: 79.28 kB / 0.724 GB, free: 11.17 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2116, allocations: 0 / 0.724 GB, free: 11.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001952/0.2118, allocations: 15.94 kB / 0.724 GB, free: 11.16 MB / 0.545 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.0001904/0.212, allocations: 107.2 kB / 0.7241 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000181/0.2122, allocations: 19.92 kB / 0.7242 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2122, allocations: 160 / 0.7242 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.183e-05/0.2123, allocations: 19.98 kB / 0.7242 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.2124, allocations: 4 kB / 0.7242 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.2128, allocations: 98.14 kB / 0.7243 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.2132, allocations: 0.6729 MB / 0.7249 GB, free: 10.17 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.672e-05/0.2132, allocations: 0 / 0.7249 GB, free: 10.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.2132, allocations: 11.5 kB / 0.725 GB, free: 10.16 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.2132, allocations: 0 / 0.725 GB, free: 10.16 MB / 0.545 GB Notification: Performance of Templates: time 0.003197/0.2164, allocations: 499.8 kB / 0.7254 GB, free: 9.684 MB / 0.545 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: 6.0935661643743515] Failed to read output from testmodel.py, exit status != 0: 0.22605548799037933 0.24231223299999996 0.031020621 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f79c0fc17b0>