Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009698/0.0009698, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00143/0.002399, allocations: 449.8 kB / 10.44 MB, free: 252 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.001065/0.001065, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001404/0.002469, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.943/0.943, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08478/1.028, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.841/1.841, allocations: 390 MB / 0.6193 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4435/2.284, allocations: 127.1 MB / 0.7435 GB, free: 4.535 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.7448 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.525e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001986/0.002002, allocations: 1.403 MB / 0.7462 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.003051, allocations: 1.051 MB / 0.7472 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.003081, allocations: 4 kB / 0.7472 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.825e-06/0.003089, allocations: 0.6562 kB / 0.7472 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.477e-05/0.003114, allocations: 2.516 kB / 0.7472 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.003682, allocations: 278.1 kB / 0.7475 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.794e-05/0.00374, allocations: 23.86 kB / 0.7475 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.003782, allocations: 4.953 kB / 0.7475 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.003837, allocations: 15.98 kB / 0.7475 GB, free: 488 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.402e-05/0.003901, allocations: 4 kB / 0.7475 GB, free: 484 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.003913, allocations: 9.125 kB / 0.7476 GB, free: 476 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005652/0.004478, allocations: 0.4911 MB / 0.748 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.004492, allocations: 5.219 kB / 0.748 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.004509, allocations: 4 kB / 0.748 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.004809, allocations: 255.2 kB / 0.7483 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.00482, allocations: 4 kB / 0.7483 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004821, allocations: 0.9375 kB / 0.7483 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.004833, allocations: 0 / 0.7483 GB, free: 15.71 MB / 0.7292 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.0003944/0.005228, allocations: 332.5 kB / 0.7486 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.712e-05/0.005255, allocations: 8.031 kB / 0.7486 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.005281, allocations: 9.438 kB / 0.7486 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.314e-05/0.005355, allocations: 105.4 kB / 0.7487 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.005364, allocations: 4.375 kB / 0.7487 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.005375, allocations: 384 / 0.7487 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.599e-05/0.005441, allocations: 38.25 kB / 0.7488 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.005447, allocations: 4.188 kB / 0.7488 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-06/0.005453, allocations: 384 / 0.7488 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.005458, allocations: 384 / 0.7488 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.179e-05/0.00548, allocations: 15.86 kB / 0.7488 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.00566, allocations: 160.2 kB / 0.7489 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.005799, allocations: 37.83 kB / 0.749 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.00582, allocations: 16.92 kB / 0.749 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.005834, allocations: 0 / 0.749 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.005855, allocations: 30.56 kB / 0.749 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.005856, allocations: 0 / 0.749 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 9.221e-05/0.005948, allocations: 49.62 kB / 0.7491 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.005982, allocations: 59.33 kB / 0.7491 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.143e-05/0.006034, allocations: 105.9 kB / 0.7492 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.006042, allocations: 25.7 kB / 0.7492 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.006074, allocations: 80.14 kB / 0.7493 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.006085, allocations: 19.84 kB / 0.7493 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.006108, allocations: 17.7 kB / 0.7494 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.006174, allocations: 314.8 kB / 0.7497 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.655e-06/0.006181, allocations: 4 kB / 0.7497 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.695e-05/0.006198, allocations: 17.72 kB / 0.7497 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.006228, allocations: 33.52 kB / 0.7497 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.00623, allocations: 0 / 0.7497 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 4.591e-05/0.006276, allocations: 45.62 kB / 0.7498 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.006288, allocations: 11.98 kB / 0.7498 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.006292, allocations: 0 / 0.7498 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.006304, allocations: 0 / 0.7498 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.487e-05/0.006339, allocations: 11.94 kB / 0.7498 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.006341, allocations: 3.938 kB / 0.7498 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.006357, allocations: 7.953 kB / 0.7498 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-06/0.00636, allocations: 0 / 0.7498 GB, free: 14.02 MB / 0.7292 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 4.287e-05/0.006403, allocations: 113.5 kB / 0.7499 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.006415, allocations: 4 kB / 0.7499 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.5e-05/0.00649, allocations: 53.3 kB / 0.75 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.006493, allocations: 4 kB / 0.75 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.006496, allocations: 3.938 kB / 0.75 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.006498, allocations: 0 / 0.75 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.391e-05/0.006572, allocations: 65.89 kB / 0.75 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.006574, allocations: 4.125 kB / 0.75 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.006591, allocations: 14.73 kB / 0.75 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-06/0.006596, allocations: 0 / 0.75 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.006598, allocations: 480 / 0.75 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-06/0.006601, allocations: 4 kB / 0.75 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006602, allocations: 0 / 0.75 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.006604, allocations: 3.938 kB / 0.75 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.279e-05/0.006667, allocations: 139.5 kB / 0.7502 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.006675, allocations: 0 / 0.7502 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.478e-05/0.0067, allocations: 9.234 kB / 0.7502 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.006711, allocations: 4 kB / 0.7502 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.006713, allocations: 0 / 0.7502 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.602e-05/0.006729, allocations: 13.95 kB / 0.7502 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006729, allocations: 0 / 0.7502 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001839/0.006913, allocations: 47.8 kB / 0.7503 GB, free: 13.5 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 (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.0001843/0.007097, allocations: 141.1 kB / 0.7504 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.178e-05/0.007159, allocations: 25.38 kB / 0.7504 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.007163, allocations: 0 / 0.7504 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.53e-05/0.007178, allocations: 13.39 kB / 0.7504 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.007285, allocations: 17.47 kB / 0.7504 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.007718, allocations: 121.5 kB / 0.7506 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.297e-05/0.007751, allocations: 63.28 kB / 0.7506 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.216e-05/0.007773, allocations: 5.422 kB / 0.7506 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.007808, allocations: 52.03 kB / 0.7507 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/0.007808, allocations: 0.6875 kB / 0.7507 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of Templates: time 0.002275/0.01008, allocations: 1.034 MB / 0.7517 GB, free: 12.04 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.615097302943468]