Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007527/0.0007527, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007464/0.0007464, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.9005/0.9005, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001448/0.001448, allocations: 225.3 kB / 260.2 MB, free: 13.05 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6491/0.6491, allocations: 138.4 MB / 455.1 MB, free: 1.672 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.6475 GB, free: 28.75 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.308e-05, allocations: 3.688 kB / 0.6475 GB, free: 28.74 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001607/0.00164, allocations: 1.3 MB / 0.6488 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006511/0.002291, allocations: 0.5327 MB / 0.6493 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.00232, allocations: 0 / 0.6493 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.002338, allocations: 0 / 0.6493 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.28e-05/0.002381, allocations: 5.156 kB / 0.6493 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.002805, allocations: 155.2 kB / 0.6495 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.921e-05/0.002864, allocations: 25.34 kB / 0.6495 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.002908, allocations: 2.188 kB / 0.6495 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.496e-05/0.002943, allocations: 13.92 kB / 0.6495 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.002995, allocations: 7.766 kB / 0.6495 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.003008, allocations: 1.188 kB / 0.6495 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.003289, allocations: 268.8 kB / 0.6498 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.003305, allocations: 5.766 kB / 0.6498 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.003324, allocations: 7.609 kB / 0.6498 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.003522, allocations: 155.8 kB / 0.6499 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.003526, allocations: 1.188 kB / 0.6499 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.413e-06/0.003527, allocations: 4 kB / 0.6499 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.003532, allocations: 0 / 0.6499 GB, free: 26.94 MB / 0.5105 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.0003583/0.00389, allocations: 281.8 kB / 0.6502 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.003934, allocations: 10.91 kB / 0.6502 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.003967, allocations: 10.34 kB / 0.6502 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.531e-05/0.004023, allocations: 107.2 kB / 0.6503 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.004032, allocations: 1.875 kB / 0.6503 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.004041, allocations: 1.875 kB / 0.6503 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.037e-05/0.004132, allocations: 46.16 kB / 0.6504 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.004139, allocations: 192 / 0.6504 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.004148, allocations: 8.375 kB / 0.6504 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.004153, allocations: 5.406 kB / 0.6504 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.19e-05/0.004195, allocations: 20.61 kB / 0.6504 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.00442, allocations: 201.2 kB / 0.6506 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.004586, allocations: 44.31 kB / 0.6506 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.004617, allocations: 15.86 kB / 0.6507 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.004637, allocations: 1.219 kB / 0.6507 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.07e-05/0.004647, allocations: 35.8 kB / 0.6507 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.004649, allocations: 0 / 0.6507 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001391/0.004788, allocations: 64.91 kB / 0.6508 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.004808, allocations: 55.34 kB / 0.6508 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.908e-05/0.004847, allocations: 98.89 kB / 0.6509 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-06/0.004853, allocations: 25.7 kB / 0.6509 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.947e-05/0.004882, allocations: 85.19 kB / 0.651 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.426e-06/0.004891, allocations: 17.11 kB / 0.651 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.004915, allocations: 18.25 kB / 0.651 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.802e-05/0.004943, allocations: 312 kB / 0.6513 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.004959, allocations: 8.812 kB / 0.6513 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.004979, allocations: 23.55 kB / 0.6514 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/0.005015, allocations: 29.88 kB / 0.6514 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.005017, allocations: 0 / 0.6514 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.026e-05/0.005077, allocations: 59.41 kB / 0.6515 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.00509, allocations: 5.438 kB / 0.6515 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.005096, allocations: 5.344 kB / 0.6515 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.005108, allocations: 0 / 0.6515 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.974e-05/0.005147, allocations: 12.36 kB / 0.6515 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.005152, allocations: 0 / 0.6515 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.005166, allocations: 5.344 kB / 0.6515 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.005171, allocations: 6.328 kB / 0.6515 GB, free: 25.34 MB / 0.5105 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 3.519e-05/0.005206, allocations: 115.9 kB / 0.6516 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.005219, allocations: 5.359 kB / 0.6516 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.797e-05/0.005317, allocations: 64.7 kB / 0.6517 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.005319, allocations: 1.188 kB / 0.6517 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.005324, allocations: 0 / 0.6517 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.005327, allocations: 5.5 kB / 0.6517 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.718e-05/0.005394, allocations: 106.1 kB / 0.6518 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005395, allocations: 0 / 0.6518 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-05/0.005416, allocations: 14.58 kB / 0.6518 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.005417, allocations: 4 kB / 0.6518 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.005423, allocations: 1.156 kB / 0.6518 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.005425, allocations: 8 kB / 0.6518 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005426, allocations: 4 kB / 0.6518 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.889e-05/0.005485, allocations: 148.8 kB / 0.6519 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.005491, allocations: 5.078 kB / 0.6519 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.005501, allocations: 1.219 kB / 0.6519 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.587e-05/0.005526, allocations: 5.125 kB / 0.652 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.00554, allocations: 5.109 kB / 0.652 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.005542, allocations: 1.219 kB / 0.652 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.339e-05/0.005556, allocations: 82 kB / 0.652 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.005556, allocations: 4 kB / 0.652 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001683/0.005724, allocations: 21.44 kB / 0.6521 GB, free: 24.75 MB / 0.5105 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.0001388/0.005863, allocations: 113.5 kB / 0.6522 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.785e-05/0.005941, allocations: 26.23 kB / 0.6522 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.005942, allocations: 0 / 0.6522 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.127e-05/0.005954, allocations: 11.59 kB / 0.6522 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.006103, allocations: 3.125 kB / 0.6522 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002374/0.00634, allocations: 147.1 kB / 0.6523 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.998e-05/0.00637, allocations: 60.77 kB / 0.6524 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.845e-05/0.006389, allocations: 15.88 kB / 0.6524 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/0.006389, allocations: 0 / 0.6524 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.001752/0.008142, allocations: 0.7208 MB / 0.6531 GB, free: 24.05 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1323056342080235] Failed to read output from testmodel.py, exit status != 0: 0.01373315416276455 0.019910832 0.015134262 Calling exit ...