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.001813/0.001813, allocations: 85.48 kB / 19.44 MB, free: 336 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.001983/0.001983, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.003343/0.003343, allocations: 238.1 kB / 259.8 MB, free: 12.86 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 1.173/1.173, allocations: 138.4 MB / 454.7 MB, free: 1.535 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.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.463e-06/1.463e-06, allocations: 0 / 0.5543 GB, free: 0.918 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.775e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00273/0.002758, allocations: 1.302 MB / 0.5556 GB, free: 15.6 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.003979, allocations: 0.5837 MB / 0.5562 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.004005, allocations: 0 / 0.5562 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.004026, allocations: 3.938 kB / 0.5562 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.63e-05/0.004072, allocations: 4 kB / 0.5562 GB, free: 15 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.004626, allocations: 151.2 kB / 0.5563 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.557e-05/0.004691, allocations: 19.92 kB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.004724, allocations: 4 kB / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.004795, allocations: 11.92 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.151e-05/0.004836, allocations: 4 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.00485, allocations: 0 / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.005333, allocations: 275.4 kB / 0.5566 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.005345, allocations: 0 / 0.5566 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.005367, allocations: 8 kB / 0.5566 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.005682, allocations: 158.4 kB / 0.5568 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005685, allocations: 11.94 kB / 0.5568 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005686, allocations: 0 / 0.5568 GB, free: 14.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.00569, allocations: 0 / 0.5568 GB, free: 14.38 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.0004942/0.006184, allocations: 391.9 kB / 0.5572 GB, free: 13.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.006219, allocations: 8.75 kB / 0.5572 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.006263, allocations: 4.938 kB / 0.5572 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.006382, allocations: 112.6 kB / 0.5573 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.006397, allocations: 8.375 kB / 0.5573 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.006418, allocations: 4.359 kB / 0.5573 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.006544, allocations: 63.97 kB / 0.5573 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.006552, allocations: 192 / 0.5573 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.006562, allocations: 8.359 kB / 0.5574 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.006566, allocations: 384 / 0.5574 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.976e-05/0.006626, allocations: 23.8 kB / 0.5574 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.006805, allocations: 112.6 kB / 0.5575 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.007008, allocations: 47.19 kB / 0.5575 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.89e-05/0.007047, allocations: 23.67 kB / 0.5576 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.007066, allocations: 4 kB / 0.5576 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.007098, allocations: 33.39 kB / 0.5576 GB, free: 13.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.007098, allocations: 0 / 0.5576 GB, free: 13.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006472/0.007746, allocations: 241.6 kB / 0.5578 GB, free: 13.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.007798, allocations: 63.33 kB / 0.5579 GB, free: 13.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.007919, allocations: 157.9 kB / 0.558 GB, free: 12.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.00794, allocations: 25.7 kB / 0.5581 GB, free: 12.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.008017, allocations: 126.9 kB / 0.5582 GB, free: 12.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.008054, allocations: 27.78 kB / 0.5582 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.008099, allocations: 23.38 kB / 0.5582 GB, free: 12.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002592/0.008358, allocations: 0.4884 MB / 0.5587 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/0.008384, allocations: 7.984 kB / 0.5587 GB, free: 12.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.541e-05/0.008409, allocations: 12.06 kB / 0.5587 GB, free: 12.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.66e-05/0.008476, allocations: 35.69 kB / 0.5588 GB, free: 12.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.008477, allocations: 4 kB / 0.5588 GB, free: 12.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001378/0.008615, allocations: 81.7 kB / 0.5588 GB, free: 12.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.008627, allocations: 4 kB / 0.5588 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.008631, allocations: 0 / 0.5588 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.008643, allocations: 0 / 0.5588 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/0.0087, allocations: 15.98 kB / 0.5589 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.008707, allocations: 3.938 kB / 0.5589 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.008725, allocations: 0 / 0.5589 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.008732, allocations: 4 kB / 0.5589 GB, free: 12 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 0.000111/0.008843, allocations: 156.6 kB / 0.559 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.008858, allocations: 8 kB / 0.559 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.009008, allocations: 73.73 kB / 0.5591 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.009012, allocations: 4 kB / 0.5591 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.009017, allocations: 3.938 kB / 0.5591 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.00902, allocations: 0 / 0.5591 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/0.009394, allocations: 313.1 kB / 0.5594 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.009395, allocations: 0 / 0.5594 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-05/0.009477, allocations: 15.98 kB / 0.5594 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.00948, allocations: 4.453 kB / 0.5594 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.009493, allocations: 7.938 kB / 0.5594 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.009497, allocations: 8.031 kB / 0.5594 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009498, allocations: 0 / 0.5594 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.009751, allocations: 231.5 kB / 0.5597 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.387e-05/0.009775, allocations: 8.172 kB / 0.5597 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.009796, allocations: 11.94 kB / 0.5597 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.009862, allocations: 3.984 kB / 0.5597 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.009884, allocations: 7.984 kB / 0.5597 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.009892, allocations: 4 kB / 0.5597 GB, free: 11.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.215e-05/0.009964, allocations: 119.2 kB / 0.5598 GB, free: 10.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009964, allocations: 0 / 0.5598 GB, free: 10.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002485/0.01021, allocations: 27.88 kB / 0.5598 GB, free: 10.93 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.0002175/0.01043, allocations: 127.2 kB / 0.5599 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.01056, allocations: 43.61 kB / 0.56 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01056, allocations: 4 kB / 0.56 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.723e-05/0.0106, allocations: 19.69 kB / 0.56 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.0108, allocations: 7.828 kB / 0.56 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.01123, allocations: 185.8 kB / 0.5602 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.356e-05/0.0113, allocations: 66.86 kB / 0.5603 GB, free: 10.42 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.797e-05/0.01134, allocations: 4 kB / 0.5603 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.01136, allocations: 12.5 kB / 0.5603 GB, free: 10.4 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01136, allocations: 0 / 0.5603 GB, free: 10.4 MB / 490.7 MB Notification: Performance of Templates: time 0.00374/0.0151, allocations: 0.6738 MB / 0.5609 GB, free: 9.777 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: 5.766326393932104]