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.001255/0.001255, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001303/0.001303, allocations: 173 kB / 23.49 MB, free: 1.059 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.9097/0.9097, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.00161/0.00161, allocations: 230 kB / 260.5 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.7893/0.7893, allocations: 138.4 MB / 455.4 MB, free: 30.05 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.052e-06/1.052e-06, allocations: 0 / 0.555 GB, free: 496 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151e-05/1.256e-05, allocations: 5.828 kB / 0.555 GB, free: 492 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001441/0.001453, allocations: 1.318 MB / 0.5563 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006546/0.002108, allocations: 0.5837 MB / 0.5569 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.00213, allocations: 0 / 0.5569 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.002144, allocations: 0 / 0.5569 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.622e-05/0.002171, allocations: 3.984 kB / 0.5569 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.002537, allocations: 155.2 kB / 0.557 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.616e-05/0.002583, allocations: 19.88 kB / 0.557 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.097e-05/0.002614, allocations: 3.984 kB / 0.5571 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.002658, allocations: 15.98 kB / 0.5571 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.089e-05/0.002688, allocations: 7.984 kB / 0.5571 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.0027, allocations: 4 kB / 0.5571 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.002962, allocations: 271.4 kB / 0.5573 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.002973, allocations: 0 / 0.5573 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.429e-05/0.002987, allocations: 7.984 kB / 0.5573 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.003156, allocations: 159.5 kB / 0.5575 GB, free: 13.92 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003158, allocations: 0 / 0.5575 GB, free: 13.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.003159, allocations: 0 / 0.5575 GB, free: 13.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.003162, allocations: 0 / 0.5575 GB, free: 13.92 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.0002917/0.003454, allocations: 400.1 kB / 0.5579 GB, free: 13.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.003484, allocations: 13.94 kB / 0.5579 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.003513, allocations: 4.938 kB / 0.5579 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.889e-05/0.003592, allocations: 108.6 kB / 0.558 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.003601, allocations: 384 / 0.558 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.003618, allocations: 8.375 kB / 0.558 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.651e-05/0.003694, allocations: 63.89 kB / 0.5581 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.0037, allocations: 192 / 0.5581 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.003707, allocations: 384 / 0.5581 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.003713, allocations: 384 / 0.5581 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.546e-05/0.003739, allocations: 19.92 kB / 0.5581 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.003842, allocations: 116.6 kB / 0.5582 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.003978, allocations: 51.09 kB / 0.5582 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.004, allocations: 19.7 kB / 0.5583 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.004012, allocations: 4 kB / 0.5583 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.004031, allocations: 33.39 kB / 0.5583 GB, free: 12.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.004031, allocations: 0 / 0.5583 GB, free: 12.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003957/0.004427, allocations: 237.6 kB / 0.5585 GB, free: 12.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.004453, allocations: 59.34 kB / 0.5586 GB, free: 12.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.972e-05/0.004512, allocations: 162.2 kB / 0.5587 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.004526, allocations: 25.7 kB / 0.5588 GB, free: 12.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.846e-05/0.004554, allocations: 126.9 kB / 0.5589 GB, free: 12.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.004575, allocations: 23.86 kB / 0.5589 GB, free: 12.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.004601, allocations: 23.38 kB / 0.5589 GB, free: 12.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.004695, allocations: 0.4884 MB / 0.5594 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.004711, allocations: 8 kB / 0.5594 GB, free: 11.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.311e-05/0.004724, allocations: 7.984 kB / 0.5594 GB, free: 11.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/0.004762, allocations: 31.62 kB / 0.5595 GB, free: 11.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.004762, allocations: 4 kB / 0.5595 GB, free: 11.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.255e-05/0.004825, allocations: 57.83 kB / 0.5595 GB, free: 11.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.004834, allocations: 8 kB / 0.5595 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.004838, allocations: 192 / 0.5595 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.004849, allocations: 4 kB / 0.5595 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.215e-05/0.004882, allocations: 8 kB / 0.5595 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.004887, allocations: 3.938 kB / 0.5595 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.282e-05/0.0049, allocations: 11.98 kB / 0.5595 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.004903, allocations: 3.938 kB / 0.5596 GB, free: 11.57 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.248e-05/0.004956, allocations: 164.5 kB / 0.5597 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.004964, allocations: 7.953 kB / 0.5597 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.084e-05/0.005045, allocations: 61.81 kB / 0.5598 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005047, allocations: 4 kB / 0.5598 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.00505, allocations: 3.938 kB / 0.5598 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.005053, allocations: 4 kB / 0.5598 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.005253, allocations: 317.2 kB / 0.5601 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.005255, allocations: 4 kB / 0.5601 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.005291, allocations: 12 kB / 0.5601 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.005292, allocations: 0 / 0.5601 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.005302, allocations: 7.938 kB / 0.5601 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.005304, allocations: 3.984 kB / 0.5601 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.005305, allocations: 0 / 0.5601 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.005425, allocations: 219.6 kB / 0.5603 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.005444, allocations: 15.94 kB / 0.5603 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.005454, allocations: 8 kB / 0.5603 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.649e-05/0.00549, allocations: 4 kB / 0.5603 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/0.005503, allocations: 0 / 0.5603 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.005507, allocations: 4 kB / 0.5604 GB, free: 10.67 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.022e-05/0.005537, allocations: 127.2 kB / 0.5605 GB, free: 10.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005537, allocations: 0 / 0.5605 GB, free: 10.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001577/0.005695, allocations: 23.88 kB / 0.5605 GB, free: 10.52 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.0001124/0.005807, allocations: 119.1 kB / 0.5606 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.253e-05/0.00588, allocations: 35.67 kB / 0.5606 GB, free: 10.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.005881, allocations: 0 / 0.5606 GB, free: 10.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-05/0.005903, allocations: 35.61 kB / 0.5607 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.00604, allocations: 0 / 0.5607 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004124/0.006453, allocations: 198 kB / 0.5609 GB, free: 10.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.986e-05/0.006483, allocations: 55.36 kB / 0.5609 GB, free: 10.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.038e-05/0.006503, allocations: 11.92 kB / 0.5609 GB, free: 10 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.456e-05/0.006517, allocations: 8.5 kB / 0.5609 GB, free: 9.996 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.006518, allocations: 0 / 0.5609 GB, free: 9.996 MB / 490.7 MB Notification: Performance of Templates: time 0.002014/0.008531, allocations: 0.689 MB / 0.5616 GB, free: 9.363 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.747340467059985]