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.001018/0.001018, allocations: 88.23 kB / 19.42 MB, free: 492 kB / 13.93 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.002283/0.002283, allocations: 169 kB / 22.72 MB, free: 1.824 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.9958/0.9958, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.001624/0.001624, allocations: 237.9 kB / 259.7 MB, free: 12.88 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.7992/0.7992, allocations: 138.4 MB / 454.7 MB, free: 30.06 MB / 410.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.703e-06/1.703e-06, allocations: 0 / 0.5543 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.801e-05, allocations: 5.969 kB / 0.5543 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001815/0.001843, allocations: 1.322 MB / 0.5556 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008513/0.002694, allocations: 0.5681 MB / 0.5561 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.002724, allocations: 3.938 kB / 0.5561 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.002742, allocations: 0 / 0.5561 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.379e-05/0.002786, allocations: 3.938 kB / 0.5561 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.003245, allocations: 151.2 kB / 0.5563 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.003298, allocations: 23.86 kB / 0.5563 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.003339, allocations: 0 / 0.5563 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.224e-05/0.003371, allocations: 11.98 kB / 0.5563 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.003416, allocations: 4 kB / 0.5563 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.00343, allocations: 0 / 0.5563 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.003743, allocations: 279.3 kB / 0.5566 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.003758, allocations: 0 / 0.5566 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.003781, allocations: 11.98 kB / 0.5566 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.003988, allocations: 155.5 kB / 0.5567 GB, free: 13.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.00399, allocations: 0 / 0.5567 GB, free: 13.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.003992, allocations: 0 / 0.5567 GB, free: 13.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.003999, allocations: 0 / 0.5567 GB, free: 13.98 MB / 490.7 MB 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.0003775/0.004376, allocations: 392.2 kB / 0.5571 GB, free: 13.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.004414, allocations: 12.75 kB / 0.5571 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.004448, allocations: 0.9375 kB / 0.5571 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.667e-05/0.004525, allocations: 112.6 kB / 0.5572 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.004536, allocations: 12.31 kB / 0.5572 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.004547, allocations: 4.375 kB / 0.5572 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.052e-05/0.004628, allocations: 46.19 kB / 0.5573 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.004634, allocations: 192 / 0.5573 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.004642, allocations: 384 / 0.5573 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.00465, allocations: 4.375 kB / 0.5573 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.807e-05/0.004678, allocations: 7.938 kB / 0.5573 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.004952, allocations: 255.8 kB / 0.5575 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.005123, allocations: 59.09 kB / 0.5576 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.005148, allocations: 15.69 kB / 0.5576 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.005167, allocations: 4 kB / 0.5576 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.005188, allocations: 41.38 kB / 0.5577 GB, free: 12.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.00519, allocations: 0 / 0.5577 GB, free: 12.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001343/0.005324, allocations: 57.58 kB / 0.5577 GB, free: 12.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.005477, allocations: 55.41 kB / 0.5578 GB, free: 12.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.224e-05/0.005539, allocations: 157.9 kB / 0.5579 GB, free: 12.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.005548, allocations: 25.7 kB / 0.5579 GB, free: 12.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.005591, allocations: 130.8 kB / 0.5581 GB, free: 12.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.005602, allocations: 19.83 kB / 0.5581 GB, free: 12.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.005628, allocations: 23.38 kB / 0.5581 GB, free: 12.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.00573, allocations: 496.1 kB / 0.5586 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.005744, allocations: 8 kB / 0.5586 GB, free: 11.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.005768, allocations: 23.36 kB / 0.5586 GB, free: 11.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.751e-05/0.005806, allocations: 31.38 kB / 0.5586 GB, free: 11.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005808, allocations: 0 / 0.5586 GB, free: 11.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.301e-05/0.005871, allocations: 57.62 kB / 0.5587 GB, free: 11.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.005887, allocations: 8 kB / 0.5587 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.005892, allocations: 3.938 kB / 0.5587 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.005906, allocations: 0 / 0.5587 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.904e-05/0.005945, allocations: 11.98 kB / 0.5587 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.005951, allocations: 0 / 0.5587 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.7e-05/0.005968, allocations: 11.98 kB / 0.5587 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.005972, allocations: 0 / 0.5587 GB, free: 11.72 MB / 490.7 MB 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 6.576e-05/0.006038, allocations: 160.5 kB / 0.5589 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.006052, allocations: 4 kB / 0.5589 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.006162, allocations: 61.3 kB / 0.5589 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.006164, allocations: 3.938 kB / 0.5589 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.006168, allocations: 0 / 0.5589 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.00617, allocations: 0 / 0.5589 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.07e-05/0.006261, allocations: 112.6 kB / 0.5591 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006262, allocations: 4 kB / 0.5591 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.006285, allocations: 12.11 kB / 0.5591 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.006287, allocations: 4.469 kB / 0.5591 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.006293, allocations: 0 / 0.5591 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.006295, allocations: 3.938 kB / 0.5591 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006295, allocations: 0 / 0.5591 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.17e-05/0.006387, allocations: 207.8 kB / 0.5593 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.006393, allocations: 4 kB / 0.5593 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.006402, allocations: 0 / 0.5593 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.533e-05/0.006428, allocations: 3.938 kB / 0.5593 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.006442, allocations: 7.984 kB / 0.5593 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.006445, allocations: 4 kB / 0.5593 GB, free: 11.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.071e-05/0.006476, allocations: 123.2 kB / 0.5594 GB, free: 10.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006476, allocations: 0 / 0.5594 GB, free: 10.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.006646, allocations: 23.88 kB / 0.5594 GB, free: 10.92 MB / 490.7 MB 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.0001365/0.006782, allocations: 115.2 kB / 0.5595 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.476e-05/0.006867, allocations: 31.61 kB / 0.5596 GB, free: 10.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.006868, allocations: 0 / 0.5596 GB, free: 10.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.006884, allocations: 19.67 kB / 0.5596 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.007029, allocations: 0 / 0.5596 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.007289, allocations: 138.2 kB / 0.5597 GB, free: 10.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.149e-05/0.00732, allocations: 55.36 kB / 0.5598 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.643e-05/0.007347, allocations: 11.92 kB / 0.5598 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.007365, allocations: 8.5 kB / 0.5598 GB, free: 10.48 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007365, allocations: 0 / 0.5598 GB, free: 10.48 MB / 490.7 MB Notification: Performance of Templates: time 0.002059/0.009425, allocations: 0.5255 MB / 0.5603 GB, free: 9.984 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.07070180401206]