Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001676/0.001676, allocations: 96.42 kB / 20.45 MB, free: 1.262 MB / 14.72 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.001641/0.001641, allocations: 214.1 kB / 23.75 MB, free: 4.445 MB / 14.72 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 1.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9687/0.9687, allocations: 149.9 MB / 463.8 MB, free: 10.41 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 64.31 kB / 0.6423 GB, free: 9.727 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1942, allocations: 89.18 MB / 0.7294 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002603/0.1968, allocations: 1.3 MB / 0.7306 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1979, allocations: 0.5216 MB / 0.7312 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.1979, allocations: 0 / 0.7312 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.1979, allocations: 3.984 kB / 0.7312 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.471e-05/0.198, allocations: 7.938 kB / 0.7312 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.1985, allocations: 143.4 kB / 0.7313 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.862e-05/0.1986, allocations: 19.91 kB / 0.7313 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.1986, allocations: 4 kB / 0.7313 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.625e-05/0.1986, allocations: 11.94 kB / 0.7313 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.358e-05/0.1987, allocations: 7.984 kB / 0.7313 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1987, allocations: 0 / 0.7313 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004377/0.1992, allocations: 267.5 kB / 0.7316 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.1992, allocations: 3.938 kB / 0.7316 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.1992, allocations: 15.98 kB / 0.7316 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.1994, allocations: 139.5 kB / 0.7317 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1995, allocations: 0 / 0.7317 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1995, allocations: 0 / 0.7317 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.1995, allocations: 3.938 kB / 0.7318 GB, free: 14.16 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004562/0.1999, allocations: 282 kB / 0.732 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2, allocations: 12.03 kB / 0.732 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.2, allocations: 4.922 kB / 0.732 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.2001, allocations: 106.5 kB / 0.7321 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2001, allocations: 8.312 kB / 0.7321 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.2001, allocations: 4.375 kB / 0.7322 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.2002, allocations: 45.62 kB / 0.7322 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2003, allocations: 0 / 0.7322 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.2003, allocations: 0 / 0.7322 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2003, allocations: 0 / 0.7322 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.233e-05/0.2003, allocations: 16 kB / 0.7322 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.2006, allocations: 204.5 kB / 0.7324 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.2009, allocations: 50.56 kB / 0.7325 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.2009, allocations: 16.86 kB / 0.7325 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.2009, allocations: 7.984 kB / 0.7325 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.2009, allocations: 34.56 kB / 0.7325 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2009, allocations: 0 / 0.7325 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001772/0.2011, allocations: 57.83 kB / 0.7326 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.2012, allocations: 51.41 kB / 0.7326 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.641e-05/0.2012, allocations: 101.8 kB / 0.7327 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.2013, allocations: 33.7 kB / 0.7327 GB, free: 13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.2013, allocations: 80.14 kB / 0.7328 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.2013, allocations: 11.89 kB / 0.7328 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.2014, allocations: 17.72 kB / 0.7328 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.2015, allocations: 314.8 kB / 0.7331 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.472e-05/0.2015, allocations: 15.98 kB / 0.7332 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.24e-05/0.2016, allocations: 21.72 kB / 0.7332 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.2016, allocations: 29.66 kB / 0.7332 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2016, allocations: 0 / 0.7332 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.752e-05/0.2017, allocations: 65.58 kB / 0.7333 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2017, allocations: 4 kB / 0.7333 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2017, allocations: 0 / 0.7333 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2018, allocations: 4 kB / 0.7333 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.2018, allocations: 7.984 kB / 0.7333 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.2018, allocations: 8.031 kB / 0.7333 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.502e-05/0.2018, allocations: 3.938 kB / 0.7333 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.2018, allocations: 0 / 0.7333 GB, free: 12.39 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.125e-05/0.2019, allocations: 121.7 kB / 0.7334 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.202, allocations: 0 / 0.7334 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.2021, allocations: 61.36 kB / 0.7335 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2021, allocations: 0 / 0.7335 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2021, allocations: 3.938 kB / 0.7335 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2021, allocations: 0 / 0.7335 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.2022, allocations: 109.3 kB / 0.7336 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2022, allocations: 4 kB / 0.7336 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.2023, allocations: 7.984 kB / 0.7336 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2023, allocations: 0 / 0.7336 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.2023, allocations: 4 kB / 0.7336 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2023, allocations: 3.938 kB / 0.7336 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2023, allocations: 3.938 kB / 0.7336 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.2024, allocations: 151.4 kB / 0.7338 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.2024, allocations: 0 / 0.7338 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.2025, allocations: 4 kB / 0.7338 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.979e-05/0.2025, allocations: 0 / 0.7338 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.2025, allocations: 3.984 kB / 0.7338 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.2025, allocations: 8 kB / 0.7338 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.2026, allocations: 79.61 kB / 0.7338 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.2026, allocations: 0 / 0.7338 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002402/0.2028, allocations: 19.94 kB / 0.7339 GB, free: 11.75 MB / 0.5606 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001747/0.203, allocations: 118.1 kB / 0.734 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.2031, allocations: 24.06 kB / 0.734 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.2031, allocations: 0 / 0.734 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.213e-05/0.2031, allocations: 12.09 kB / 0.734 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.2033, allocations: 15.98 kB / 0.734 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.2037, allocations: 152.5 kB / 0.7342 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.968e-05/0.2037, allocations: 59.36 kB / 0.7342 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.2037, allocations: 11.42 kB / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2037, allocations: 0 / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.002336/0.2061, allocations: 0.7174 MB / 0.7349 GB, free: 10.59 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.023198440670967] Failed to read output from testmodel.py, exit status != 0: 0.21468970645219088 0.228462201 0.026030844 Calling exit ...