Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001075/0.001075, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001596/0.002672, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001112/0.001112, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001521/0.002633, allocations: 459.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.9936/0.9936, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08391/1.077, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.893/1.893, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4715/2.365, allocations: 127.1 MB / 0.7432 GB, free: 4.621 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.7445 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.115e-05, allocations: 6.25 kB / 0.7445 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001686/0.001707, allocations: 1.372 MB / 0.7458 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005918/0.002299, allocations: 0.5683 MB / 0.7464 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.794e-05/0.002317, allocations: 1.312 kB / 0.7464 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.234e-06/0.002324, allocations: 0 / 0.7464 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.123e-05/0.002345, allocations: 3.625 kB / 0.7464 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.002677, allocations: 140.3 kB / 0.7465 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.994e-05/0.002727, allocations: 12.25 kB / 0.7465 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.002761, allocations: 4 kB / 0.7465 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.809e-05/0.002809, allocations: 8.859 kB / 0.7465 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.002853, allocations: 9.484 kB / 0.7466 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.002863, allocations: 0.6562 kB / 0.7466 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003058/0.003168, allocations: 253.9 kB / 0.7468 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.003177, allocations: 0 / 0.7468 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.288e-05/0.00319, allocations: 7.875 kB / 0.7468 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.003365, allocations: 127.7 kB / 0.7469 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.003378, allocations: 0 / 0.7469 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003379, allocations: 0 / 0.7469 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.003391, allocations: 0 / 0.7469 GB, free: 0.8633 MB / 0.7136 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.0002995/0.00369, allocations: 264 kB / 0.7472 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.003717, allocations: 12.03 kB / 0.7472 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.003739, allocations: 0.9375 kB / 0.7472 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.668e-05/0.003816, allocations: 113.7 kB / 0.7473 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.003824, allocations: 384 / 0.7473 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-06/0.00383, allocations: 4.312 kB / 0.7473 GB, free: 440 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.975e-05/0.00389, allocations: 38.25 kB / 0.7473 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.003895, allocations: 192 / 0.7473 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-06/0.0039, allocations: 384 / 0.7473 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.003903, allocations: 7.688 kB / 0.7473 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.165e-05/0.003915, allocations: 7.938 kB / 0.7474 GB, free: 384 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.362e-05/0.003989, allocations: 53.05 kB / 0.7474 GB, free: 316 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.851e-05/0.004027, allocations: 22.59 kB / 0.7474 GB, free: 284 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.229e-05/0.004039, allocations: 14.03 kB / 0.7474 GB, free: 268 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.004056, allocations: 0 / 0.7474 GB, free: 268 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.004074, allocations: 34.55 kB / 0.7475 GB, free: 224 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.004075, allocations: 4 kB / 0.7475 GB, free: 220 kB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 8.008e-05/0.004155, allocations: 36.45 kB / 0.7475 GB, free: 180 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.00418, allocations: 51.41 kB / 0.7476 GB, free: 116 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.561e-05/0.004226, allocations: 102.7 kB / 0.7477 GB, free: 0 / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.004246, allocations: 25.7 kB / 0.7477 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.862e-05/0.004264, allocations: 84.14 kB / 0.7478 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.004286, allocations: 3.953 kB / 0.7478 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.004307, allocations: 15.22 kB / 0.7478 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.054e-05/0.004378, allocations: 322.8 kB / 0.7481 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-06/0.004384, allocations: 3.938 kB / 0.7481 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.575e-06/0.004392, allocations: 7.984 kB / 0.7481 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.852e-05/0.00441, allocations: 10.02 kB / 0.7481 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.004412, allocations: 0 / 0.7481 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.634e-05/0.004448, allocations: 34.7 kB / 0.7481 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.00446, allocations: 8 kB / 0.7482 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.004465, allocations: 4.578 kB / 0.7482 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.804e-06/0.004473, allocations: 0 / 0.7482 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.004583, allocations: 8.75 kB / 0.7482 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002239/0.004807, allocations: 0.5834 MB / 0.7487 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.286e-05/0.00482, allocations: 0 / 0.7487 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.004824, allocations: 4 kB / 0.7487 GB, free: 14.84 MB / 0.7292 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.468e-05/0.004869, allocations: 110.4 kB / 0.7488 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-06/0.004874, allocations: 4.5 kB / 0.7488 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.00513, allocations: 49.94 kB / 0.7489 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.005132, allocations: 3.938 kB / 0.7489 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.005134, allocations: 1.219 kB / 0.7489 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005136, allocations: 0 / 0.7489 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.997e-05/0.005186, allocations: 65.89 kB / 0.749 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.005187, allocations: 0.9375 kB / 0.749 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.005237, allocations: 15.92 kB / 0.749 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-06/0.005242, allocations: 0 / 0.749 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.005243, allocations: 0.9062 kB / 0.749 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-06/0.005246, allocations: 0 / 0.749 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001675/0.005413, allocations: 0.5833 MB / 0.7496 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.005414, allocations: 0 / 0.7496 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.919e-05/0.005453, allocations: 66.78 kB / 0.7496 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.005461, allocations: 4 kB / 0.7496 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-06/0.005468, allocations: 0 / 0.7496 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-06/0.005477, allocations: 0 / 0.7496 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.005479, allocations: 0.6875 kB / 0.7496 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.026e-05/0.005489, allocations: 13.41 kB / 0.7496 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005489, allocations: 0 / 0.7496 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001299/0.005619, allocations: 27.62 kB / 0.7497 GB, free: 13.84 MB / 0.7292 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.0001364/0.005756, allocations: 108.3 kB / 0.7498 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.803e-05/0.005834, allocations: 16.84 kB / 0.7498 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.005838, allocations: 4 kB / 0.7498 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.892e-05/0.005856, allocations: 12.8 kB / 0.7498 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.962e-05/0.005916, allocations: 7.938 kB / 0.7498 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.006314, allocations: 107.7 kB / 0.7499 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.408e-05/0.006338, allocations: 55.34 kB / 0.75 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.922e-05/0.006357, allocations: 3.938 kB / 0.75 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.006382, allocations: 51.38 kB / 0.75 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.006382, allocations: 0.8125 kB / 0.75 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of Templates: time 0.001926/0.008309, allocations: 0.623 MB / 0.7506 GB, free: 12.86 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.778192577883601]