Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.0009262/0.0009262, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009687/0.0009687, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9837/0.9837, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.001653/0.001653, allocations: 234.1 kB / 260.5 MB, free: 12.67 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.7009/0.7009, allocations: 138.4 MB / 455.5 MB, free: 30 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.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.5556 GB, free: 15.87 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.235e-05, allocations: 6.312 kB / 0.5556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001942/0.001964, allocations: 1.322 MB / 0.5569 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007066/0.002671, allocations: 0.576 MB / 0.5574 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.002701, allocations: 3.938 kB / 0.5574 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.002719, allocations: 3.938 kB / 0.5574 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.56e-05/0.002755, allocations: 3.984 kB / 0.5574 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.003204, allocations: 155.2 kB / 0.5576 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.23e-05/0.003257, allocations: 23.91 kB / 0.5576 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.003291, allocations: 0 / 0.5576 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.00335, allocations: 19.92 kB / 0.5576 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.003391, allocations: 4 kB / 0.5576 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.003403, allocations: 0 / 0.5576 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.003695, allocations: 271.4 kB / 0.5579 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.003708, allocations: 3.984 kB / 0.5579 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.237e-05/0.00372, allocations: 4 kB / 0.5579 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.003902, allocations: 159.5 kB / 0.5581 GB, free: 13.31 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003904, allocations: 0 / 0.5581 GB, free: 13.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003905, allocations: 0 / 0.5581 GB, free: 13.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.003908, allocations: 0 / 0.5581 GB, free: 13.31 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002937/0.004202, allocations: 404.1 kB / 0.5584 GB, free: 12.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.004236, allocations: 9.938 kB / 0.5584 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.004284, allocations: 4.938 kB / 0.5585 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.439e-05/0.004349, allocations: 108.6 kB / 0.5586 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.004358, allocations: 384 / 0.5586 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.004371, allocations: 4.375 kB / 0.5586 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.158e-05/0.004443, allocations: 59.95 kB / 0.5586 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.004449, allocations: 4.188 kB / 0.5586 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.004457, allocations: 8.375 kB / 0.5586 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.004461, allocations: 384 / 0.5586 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.782e-05/0.004479, allocations: 11.92 kB / 0.5586 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.449e-05/0.004574, allocations: 105.1 kB / 0.5587 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.004695, allocations: 51.08 kB / 0.5588 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.004713, allocations: 15.77 kB / 0.5588 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.004732, allocations: 4 kB / 0.5588 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.004751, allocations: 33.39 kB / 0.5588 GB, free: 12.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.004752, allocations: 4 kB / 0.5588 GB, free: 12.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003508/0.005103, allocations: 229.8 kB / 0.5591 GB, free: 12.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.005125, allocations: 55.41 kB / 0.5591 GB, free: 12.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.594e-05/0.005181, allocations: 161.9 kB / 0.5593 GB, free: 11.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.005194, allocations: 33.7 kB / 0.5593 GB, free: 11.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.005232, allocations: 130.9 kB / 0.5594 GB, free: 11.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.005261, allocations: 19.84 kB / 0.5594 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.005288, allocations: 27.36 kB / 0.5595 GB, free: 11.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.005388, allocations: 496.1 kB / 0.5599 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.0054, allocations: 4 kB / 0.5599 GB, free: 11.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.149e-05/0.005411, allocations: 15.98 kB / 0.56 GB, free: 11.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.19e-05/0.005443, allocations: 27.83 kB / 0.56 GB, free: 11.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.005444, allocations: 0 / 0.56 GB, free: 11.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.042e-05/0.005504, allocations: 57.62 kB / 0.56 GB, free: 11.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.005514, allocations: 4 kB / 0.56 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.005518, allocations: 0 / 0.56 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.005526, allocations: 0 / 0.56 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.516e-05/0.005562, allocations: 12 kB / 0.5601 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.005565, allocations: 3.984 kB / 0.5601 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.005576, allocations: 7.938 kB / 0.5601 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.005581, allocations: 4 kB / 0.5601 GB, free: 11 MB / 490.7 MB 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 (7): * Single equations (assignments): 7 * 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 5.487e-05/0.005636, allocations: 160.6 kB / 0.5602 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-06/0.005644, allocations: 4 kB / 0.5602 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.77e-05/0.005722, allocations: 61.75 kB / 0.5603 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.005723, allocations: 4 kB / 0.5603 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.005726, allocations: 3.984 kB / 0.5603 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.005729, allocations: 4.062 kB / 0.5603 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.005907, allocations: 301.7 kB / 0.5606 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.005908, allocations: 0 / 0.5606 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.538e-05/0.005944, allocations: 12 kB / 0.5606 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.005946, allocations: 0 / 0.5606 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-06/0.005951, allocations: 7.969 kB / 0.5606 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.005954, allocations: 7.984 kB / 0.5606 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.005956, allocations: 3.938 kB / 0.5606 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.006068, allocations: 211.6 kB / 0.5608 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.006082, allocations: 11.92 kB / 0.5608 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.00609, allocations: 4 kB / 0.5608 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.953e-05/0.00613, allocations: 4 kB / 0.5608 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.006141, allocations: 3.938 kB / 0.5608 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.006145, allocations: 4 kB / 0.5608 GB, free: 10.13 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.981e-05/0.006175, allocations: 123.2 kB / 0.561 GB, free: 10.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006175, allocations: 4.031 kB / 0.561 GB, free: 10.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.006339, allocations: 27.88 kB / 0.561 GB, free: 9.98 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001205/0.00646, allocations: 115.2 kB / 0.5611 GB, free: 9.859 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.462e-05/0.006525, allocations: 39.59 kB / 0.5611 GB, free: 9.816 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.006526, allocations: 0 / 0.5611 GB, free: 9.816 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-05/0.006542, allocations: 23.67 kB / 0.5612 GB, free: 9.789 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.006681, allocations: 4 kB / 0.5612 GB, free: 9.785 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.007069, allocations: 198.1 kB / 0.5614 GB, free: 9.559 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.647e-05/0.007125, allocations: 55.36 kB / 0.5614 GB, free: 9.484 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.452e-05/0.00715, allocations: 11.98 kB / 0.5614 GB, free: 9.473 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.007196, allocations: 78.2 kB / 0.5615 GB, free: 9.395 MB / 490.7 MB Notification: Performance of SimCode: time 7.82e-07/0.007196, allocations: 0 / 0.5615 GB, free: 9.395 MB / 490.7 MB Notification: Performance of Templates: time 0.002167/0.009364, allocations: 0.7677 MB / 0.5622 GB, free: 8.684 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4990809629671276]